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.001292/0.001292, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001378/0.001378, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.696/1.696, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001517/0.001517, allocations: 51.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 46.64 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.0103/0.1228, allocations: 8.808 MB / 334.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.1292, allocations: 2.891 MB / 337.7 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.131, allocations: 39.81 kB / 337.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.1334, allocations: 0.5325 MB / 338.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.1378, allocations: 0.6528 MB / 338.9 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.1397, allocations: 287.7 kB / 339.2 MB, free: 7.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.1444, allocations: 2.771 MB / 341.9 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.1472, allocations: 1.409 MB / 343.4 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.1503, allocations: 0.9222 MB / 344.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/0.1539, allocations: 1.288 MB / 345.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009797/0.1549, allocations: 172 kB / 345.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.1564, allocations: 275.8 kB / 346 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.1576, allocations: 0.697 MB / 346.7 MB, free: 8 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.1603, allocations: 1.143 MB / 347.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.1637, allocations: 3.547 MB / 351.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1637, allocations: 0 / 351.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1637, allocations: 0 / 351.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.429e-05/0.1638, allocations: 0 / 351.4 MB, free: 11.3 MB / 302.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.005524/0.1693, allocations: 2.579 MB / 354 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1694, allocations: 8.031 kB / 354 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.1701, allocations: 258.1 kB / 354.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.1722, allocations: 1.307 MB / 355.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1723, allocations: 140 kB / 355.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.1726, allocations: 192 kB / 355.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/0.1766, allocations: 2.398 MB / 358.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/0.1767, allocations: 7.984 kB / 358.3 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.1769, allocations: 79.98 kB / 358.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.534e-05/0.177, allocations: 83.5 kB / 358.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.1805, allocations: 2.016 MB / 360.4 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.1928, allocations: 7.456 MB / 367.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.1948, allocations: 1.279 MB / 369.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.1965, allocations: 0.9003 MB / 370.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.1968, allocations: 126 kB / 370.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.1968, allocations: 39.56 kB / 370.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 4.158e-06/0.1968, allocations: 0 / 370.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.0107/0.2075, allocations: 5.009 MB / 375.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.2076, allocations: 60.41 kB / 375.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.2101, allocations: 1.38 MB / 376.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.2102, allocations: 41.7 kB / 376.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/0.2109, allocations: 0.9008 MB / 377.6 MB, free: 460 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.2113, allocations: 346.9 kB / 378 MB, free: 108 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2511/0.4624, allocations: 216.2 kB / 378.2 MB, free: 51.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4626, allocations: 352.8 kB / 378.5 MB, free: 51.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4638, allocations: 0.6306 MB / 379.2 MB, free: 51.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.4651, allocations: 0.9233 MB / 380.1 MB, free: 51.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.4678, allocations: 1.651 MB / 381.7 MB, free: 50.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4678, allocations: 2.781 kB / 381.7 MB, free: 50.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004749/0.4726, allocations: 2.385 MB / 384.1 MB, free: 49.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.4726, allocations: 9.969 kB / 384.1 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.4727, allocations: 7.906 kB / 384.1 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.4748, allocations: 0.7133 MB / 384.8 MB, free: 49.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/0.4758, allocations: 233.3 kB / 385.1 MB, free: 49.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.4873, allocations: 8.022 MB / 393.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4891, allocations: 78.53 kB / 393.2 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4892, allocations: 51.2 kB / 393.2 MB, free: 44.67 MB / 318.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.00167/0.4909, allocations: 0.6263 MB / 393.9 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.4913, allocations: 141.1 kB / 394 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.4948, allocations: 1.899 MB / 395.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4948, allocations: 7.875 kB / 395.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4948, allocations: 10.59 kB / 395.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4949, allocations: 10.22 kB / 395.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006345/0.5012, allocations: 4.005 MB / 399.9 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.5013, allocations: 3.812 kB / 399.9 MB, free: 41.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.5021, allocations: 184.9 kB / 400.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.5032, allocations: 466.2 kB / 400.6 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/0.5033, allocations: 35.7 kB / 400.6 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.508, allocations: 6.149 MB / 406.7 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.508, allocations: 0 / 406.7 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.5121, allocations: 2.769 MB / 409.5 MB, free: 32.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007779/0.5129, allocations: 363.2 kB / 409.9 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.5131, allocations: 24.83 kB / 409.9 MB, free: 31.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007594/0.5139, allocations: 67.92 kB / 410 MB, free: 31.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.5141, allocations: 88.75 kB / 410 MB, free: 31.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.5142, allocations: 28 kB / 410.1 MB, free: 31.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.5156, allocations: 0.9619 MB / 411 MB, free: 30.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5156, allocations: 0 / 411 MB, free: 30.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001764/0.5174, allocations: 438.1 kB / 411.5 MB, free: 30.07 MB / 318.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.0003635/0.5178, allocations: 178 kB / 411.6 MB, free: 29.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.5209, allocations: 1.998 MB / 413.6 MB, free: 27.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.521, allocations: 1.219 kB / 413.6 MB, free: 27.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.5227, allocations: 1.344 MB / 415 MB, free: 26.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.5253, allocations: 348.1 kB / 415.3 MB, free: 26.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.5336, allocations: 4.855 MB / 420.2 MB, free: 21.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.5354, allocations: 1.693 MB / 421.9 MB, free: 19.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001233/0.5366, allocations: 312 kB / 422.2 MB, free: 19.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.537, allocations: 95.42 kB / 422.3 MB, free: 19.15 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.537, allocations: 0 / 422.3 MB, free: 19.15 MB / 318.1 MB Notification: Performance of Templates: time 0.03745/0.5745, allocations: 23.12 MB / 445.4 MB, free: 12.02 MB / 334.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)