Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 116.3 kB / 17.07 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 51.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1232, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2746/0.3979, allocations: 8.861 MB / 383.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.4069, allocations: 2.913 MB / 386.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.4105, allocations: 39.47 kB / 386.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.4139, allocations: 0.6171 MB / 386.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.4188, allocations: 0.7195 MB / 387.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.4203, allocations: 327.1 kB / 388 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006614/0.4269, allocations: 2.391 MB / 390.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.4308, allocations: 1.708 MB / 392.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.4344, allocations: 1.058 MB / 393.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.4384, allocations: 1.341 MB / 394.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.4395, allocations: 280.3 kB / 394.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.4411, allocations: 370.6 kB / 395.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.4425, allocations: 0.8027 MB / 395.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002561/0.445, allocations: 1.264 MB / 397.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00796/0.453, allocations: 3.68 MB / 400.8 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.453, allocations: 0 / 400.8 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4531, allocations: 0 / 400.8 MB, free: 124 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001596/0.4532, allocations: 0 / 400.8 MB, free: 124 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007357/0.4606, allocations: 2.57 MB / 403.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4607, allocations: 12.52 kB / 403.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000948/0.4616, allocations: 259.6 kB / 403.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.4645, allocations: 1.31 MB / 405 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.4646, allocations: 140.3 kB / 405.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.465, allocations: 187.8 kB / 405.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/0.4699, allocations: 2.402 MB / 407.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/0.47, allocations: 15.34 kB / 407.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.4702, allocations: 74.8 kB / 407.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.4704, allocations: 88.86 kB / 407.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004352/0.4747, allocations: 2.011 MB / 409.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.4886, allocations: 7.369 MB / 417.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.4905, allocations: 1.272 MB / 418.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.4922, allocations: 0.9159 MB / 419.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.4924, allocations: 114.1 kB / 419.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.4925, allocations: 47.5 kB / 419.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.316e-06/0.4925, allocations: 0 / 419.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01007/0.5026, allocations: 4.994 MB / 424.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.5027, allocations: 68.39 kB / 424.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.5051, allocations: 1.38 MB / 426 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.5053, allocations: 45.64 kB / 426.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008803/0.5061, allocations: 0.8969 MB / 427 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.5065, allocations: 346.9 kB / 427.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.5069, allocations: 218.8 kB / 427.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5071, allocations: 349.9 kB / 427.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5081, allocations: 0.6311 MB / 428.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.5093, allocations: 0.9298 MB / 429.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.5115, allocations: 1.645 MB / 431.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5115, allocations: 4.734 kB / 431.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004463/0.516, allocations: 2.39 MB / 433.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.516, allocations: 8 kB / 433.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.5161, allocations: 11.98 kB / 433.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.5179, allocations: 0.7121 MB / 434.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/0.5188, allocations: 235.6 kB / 434.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.5294, allocations: 8.741 MB / 443.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.531, allocations: 88 kB / 443.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5311, allocations: 51.92 kB / 443.3 MB, free: 9.621 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001301/0.5324, allocations: 0.6223 MB / 443.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.5327, allocations: 146.2 kB / 444.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.5361, allocations: 1.901 MB / 446 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5361, allocations: 8 kB / 446 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5361, allocations: 8 kB / 446 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5361, allocations: 4.109 kB / 446 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006833/0.5429, allocations: 4.024 MB / 450 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.543, allocations: 4 kB / 450 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/0.5438, allocations: 175.8 kB / 450.2 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.5451, allocations: 467.4 kB / 450.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.5452, allocations: 27.98 kB / 450.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/0.5525, allocations: 6.681 MB / 457.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5526, allocations: 0 / 457.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.5575, allocations: 2.783 MB / 460.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.5588, allocations: 363.2 kB / 460.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.5591, allocations: 20 kB / 460.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.5599, allocations: 71.91 kB / 460.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/0.5603, allocations: 72.89 kB / 460.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.5604, allocations: 31.98 kB / 460.7 MB, free: 7.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001841/0.5622, allocations: 0.9543 MB / 461.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5623, allocations: 7.938 kB / 461.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002042/0.5643, allocations: 440.1 kB / 462.1 MB, free: 6.215 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004663/0.5648, allocations: 174.9 kB / 462.3 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.5686, allocations: 2.016 MB / 464.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5687, allocations: 0 / 464.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.5708, allocations: 1.347 MB / 465.6 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.5732, allocations: 374.9 kB / 466 MB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/0.5817, allocations: 4.018 MB / 470 MB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.5832, allocations: 1.692 MB / 471.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001331/0.5846, allocations: 316 kB / 472 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.5849, allocations: 95.42 kB / 472.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.004e-06/0.5849, allocations: 0 / 472.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of Templates: time 0.04495/0.6299, allocations: 24.41 MB / 496.5 MB, free: 3.562 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)