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.001018/0.001024, allocations: 94.7 kB / 16.3 MB, free: 6.133 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.001008/0.001008, allocations: 179 kB / 17.2 MB, free: 6.016 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.899/1.899, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0004827/0.0004829, allocations: 16.22 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 47.57 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.009207/0.1477, allocations: 7.166 MB / 334.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.1547, allocations: 2.816 MB / 337.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1566, allocations: 31.88 kB / 337.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.159, allocations: 0.5014 MB / 338.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.1625, allocations: 0.6114 MB / 338.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.164, allocations: 199.7 kB / 339 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.1688, allocations: 1.556 MB / 340.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003607/0.1724, allocations: 1.192 MB / 341.8 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.1744, allocations: 0.7356 MB / 342.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.1772, allocations: 0.9612 MB / 343.5 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009836/0.1782, allocations: 120 kB / 343.6 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1796, allocations: 183.9 kB / 343.8 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.1809, allocations: 0.5803 MB / 344.3 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.1822, allocations: 452.6 kB / 344.8 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.1869, allocations: 2.926 MB / 347.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1869, allocations: 0 / 347.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1869, allocations: 0 / 347.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001669/0.1871, allocations: 0 / 347.7 MB, free: 15.97 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.00619/0.1933, allocations: 2.197 MB / 349.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1934, allocations: 15.97 kB / 349.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.1949, allocations: 265.1 kB / 350.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.1988, allocations: 1.264 MB / 351.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.199, allocations: 131.6 kB / 351.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/0.1998, allocations: 187.8 kB / 351.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006918/0.2068, allocations: 2.378 MB / 354.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.2069, allocations: 7.984 kB / 354.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.2073, allocations: 79.98 kB / 354.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.2075, allocations: 83.5 kB / 354.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.2123, allocations: 2.02 MB / 356.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.2313, allocations: 7.456 MB / 363.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.2337, allocations: 1.279 MB / 365.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.2341, allocations: 114.1 kB / 365.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.2342, allocations: 43.56 kB / 365.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.747e-06/0.2342, allocations: 0 / 365.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01147/0.2457, allocations: 5.071 MB / 370.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.2458, allocations: 64.39 kB / 370.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.2487, allocations: 1.322 MB / 371.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.2488, allocations: 41.7 kB / 371.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/0.2496, allocations: 0.8969 MB / 372.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.25, allocations: 354.9 kB / 373 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.2501, allocations: 24 kB / 373 MB, free: 6.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2503, allocations: 349.9 kB / 373.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2515, allocations: 0.6389 MB / 374 MB, free: 5.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.2528, allocations: 0.9337 MB / 374.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.2541, allocations: 0.772 MB / 375.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2542, allocations: 0 / 375.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004747/0.2589, allocations: 2.433 MB / 378.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.259, allocations: 8 kB / 378.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.259, allocations: 8 kB / 378.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.261, allocations: 0.743 MB / 378.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2224/0.4835, allocations: 227.2 kB / 379.1 MB, free: 50.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.4956, allocations: 8.551 MB / 387.6 MB, free: 46.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4969, allocations: 89.08 kB / 387.7 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/0.497, allocations: 53.06 kB / 387.8 MB, free: 46.3 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001273/0.4983, allocations: 0.6187 MB / 388.4 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.4986, allocations: 142.9 kB / 388.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.502, allocations: 1.921 MB / 390.4 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.502, allocations: 9.469 kB / 390.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.502, allocations: 4.391 kB / 390.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.502, allocations: 8.734 kB / 390.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.5081, allocations: 3.99 MB / 394.5 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5081, allocations: 5 kB / 394.5 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/0.5089, allocations: 184.4 kB / 394.6 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.51, allocations: 461.2 kB / 395.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.5101, allocations: 35.62 kB / 395.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/0.515, allocations: 6.262 MB / 401.4 MB, free: 38.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.515, allocations: 3.938 kB / 401.4 MB, free: 38.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.5187, allocations: 2.905 MB / 404.3 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/0.5195, allocations: 352.4 kB / 404.6 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.5197, allocations: 24.75 kB / 404.7 MB, free: 36.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/0.5205, allocations: 73.64 kB / 404.7 MB, free: 36.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.5207, allocations: 93.36 kB / 404.8 MB, free: 36.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.5208, allocations: 27.17 kB / 404.9 MB, free: 36.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.5221, allocations: 0.9138 MB / 405.8 MB, free: 35.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5221, allocations: 0.5469 kB / 405.8 MB, free: 35.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001395/0.5235, allocations: 434.8 kB / 406.2 MB, free: 35.32 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.5238, allocations: 141.7 kB / 406.3 MB, free: 35.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.5267, allocations: 2.041 MB / 408.4 MB, free: 33.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5267, allocations: 0.625 kB / 408.4 MB, free: 33.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.5283, allocations: 1.361 MB / 409.7 MB, free: 31.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.5298, allocations: 357 kB / 410.1 MB, free: 31.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.5354, allocations: 4.765 MB / 414.9 MB, free: 26.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.5366, allocations: 1.735 MB / 416.6 MB, free: 24.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008598/0.5375, allocations: 308 kB / 416.9 MB, free: 24.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.5377, allocations: 95.42 kB / 417 MB, free: 24.39 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5377, allocations: 0 / 417 MB, free: 24.39 MB / 318.1 MB Notification: Performance of Templates: time 0.03521/0.573, allocations: 21.7 MB / 438.7 MB, free: 2.68 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: