Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.00707/0.00707, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001446/0.001446, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.784/1.784, allocations: 205.1 MB / 222.5 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.001238/0.001238, allocations: 55.92 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.3325/0.4647, allocations: 8.863 MB / 382 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.472, allocations: 2.918 MB / 384.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.4743, allocations: 38.28 kB / 385 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.4766, allocations: 0.6137 MB / 385.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.4804, allocations: 0.7229 MB / 386.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4818, allocations: 328.5 kB / 386.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.4866, allocations: 2.385 MB / 389 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.4896, allocations: 1.712 MB / 390.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.4933, allocations: 1.054 MB / 391.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004149/0.4975, allocations: 1.341 MB / 393.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009164/0.4984, allocations: 279.6 kB / 393.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.5, allocations: 376.7 kB / 393.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.5011, allocations: 0.7976 MB / 394.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.5036, allocations: 1.264 MB / 395.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007442/0.511, allocations: 3.681 MB / 399.5 MB, free: 144 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.5111, allocations: 3.984 kB / 399.5 MB, free: 140 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.5111, allocations: 0 / 399.5 MB, free: 140 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002709/0.5114, allocations: 1.25 kB / 399.5 MB, free: 140 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.01177/0.5232, allocations: 2.565 MB / 402.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.759e-05/0.5233, allocations: 17.12 kB / 402.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.5248, allocations: 255.9 kB / 402.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/0.5283, allocations: 1.31 MB / 403.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5285, allocations: 135.4 kB / 403.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.5289, allocations: 189.8 kB / 404 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/0.5346, allocations: 2.41 MB / 406.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/0.5347, allocations: 15.03 kB / 406.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.5349, allocations: 71.56 kB / 406.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.535, allocations: 87.61 kB / 406.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.5393, allocations: 2.01 MB / 408.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.5565, allocations: 7.374 MB / 415.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.559, allocations: 1.268 MB / 417.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.561, allocations: 0.912 MB / 418.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/0.5614, allocations: 122.1 kB / 418.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/0.5615, allocations: 51.48 kB / 418.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 4.609e-06/0.5615, allocations: 0 / 418.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01252/0.5741, allocations: 4.994 MB / 423.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.5742, allocations: 64.41 kB / 423.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.5781, allocations: 1.377 MB / 424.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.5783, allocations: 41.7 kB / 424.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.5793, allocations: 0.8931 MB / 425.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/0.5798, allocations: 358.9 kB / 426 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000489/0.5803, allocations: 218.8 kB / 426.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5805, allocations: 349.9 kB / 426.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.5817, allocations: 0.6311 MB / 427.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.5831, allocations: 0.922 MB / 428.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.5862, allocations: 1.645 MB / 429.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/0.5862, allocations: 8 kB / 429.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00522/0.5914, allocations: 2.398 MB / 432.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.5915, allocations: 11.94 kB / 432.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.5915, allocations: 8 kB / 432.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.5937, allocations: 0.7121 MB / 432.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.5946, allocations: 231.6 kB / 433.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.6075, allocations: 8.748 MB / 441.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.6097, allocations: 84.02 kB / 442 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.6098, allocations: 47.98 kB / 442 MB, free: 9.633 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.001931/0.6118, allocations: 0.6223 MB / 442.6 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/0.6123, allocations: 146.2 kB / 442.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.616, allocations: 1.893 MB / 444.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.616, allocations: 12 kB / 444.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.616, allocations: 4 kB / 444.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.616, allocations: 7.984 kB / 444.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007273/0.6233, allocations: 4.016 MB / 448.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6234, allocations: 4.219 kB / 448.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.6242, allocations: 183.7 kB / 448.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.6254, allocations: 467.4 kB / 449.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.6255, allocations: 27.98 kB / 449.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007203/0.6327, allocations: 6.676 MB / 456 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.6328, allocations: 8.031 kB / 456.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/0.638, allocations: 2.775 MB / 458.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.6394, allocations: 363.2 kB / 459.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.6396, allocations: 24 kB / 459.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/0.6404, allocations: 67.91 kB / 459.3 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.6407, allocations: 76.89 kB / 459.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.6408, allocations: 31.98 kB / 459.4 MB, free: 7.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.6427, allocations: 0.9543 MB / 460.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6427, allocations: 0 / 460.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002173/0.6449, allocations: 443.9 kB / 460.8 MB, free: 6.234 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.0004902/0.6454, allocations: 182.8 kB / 460.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004024/0.6494, allocations: 2.016 MB / 463 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6495, allocations: 0 / 463 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.6517, allocations: 1.343 MB / 464.3 MB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.6541, allocations: 387.5 kB / 464.7 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/0.6631, allocations: 4.006 MB / 468.7 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.6648, allocations: 1.689 MB / 470.4 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001496/0.6664, allocations: 312 kB / 470.7 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.6667, allocations: 99.36 kB / 470.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.886e-06/0.6667, allocations: 0 / 470.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of Templates: time 0.0449/0.7116, allocations: 24.42 MB / 495.2 MB, free: 3.57 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)