Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 105.5 kB / 16.62 MB, free: 6.805 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.001676/0.001677, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.853/1.853, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00149/0.00149, allocations: 52.25 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1262, allocations: 46.64 MB / 326.2 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01715/0.1435, allocations: 12.69 MB / 338.8 MB, free: 8.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.1552, allocations: 4.188 MB / 343 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004326/0.1596, allocations: 59.69 kB / 343.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.1642, allocations: 0.8548 MB / 343.9 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006727/0.1709, allocations: 1.084 MB / 345 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.1734, allocations: 467.6 kB / 345.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008559/0.182, allocations: 4.665 MB / 350.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005981/0.1881, allocations: 3.602 MB / 353.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006261/0.1944, allocations: 2.125 MB / 355.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005596/0.2, allocations: 2.627 MB / 358.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002408/0.2025, allocations: 0.5508 MB / 359.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.2063, allocations: 0.6405 MB / 359.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003311/0.2096, allocations: 1.519 MB / 361.2 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007346/0.217, allocations: 2.489 MB / 363.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.2321, allocations: 7.353 MB / 371.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.2323, allocations: 0 / 371.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.486e-06/0.2323, allocations: 0 / 371.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003812/0.2327, allocations: 7.938 kB / 371.1 MB, free: 7.648 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.02142/0.2541, allocations: 4.683 MB / 375.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.2542, allocations: 11.89 kB / 375.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.2573, allocations: 0.4995 MB / 376.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3114/0.5688, allocations: 2.374 MB / 378.6 MB, free: 49.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/0.5693, allocations: 267.8 kB / 378.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/0.5713, allocations: 347.4 kB / 379.2 MB, free: 49.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.5874, allocations: 5.02 MB / 384.3 MB, free: 47.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.5876, allocations: 11.94 kB / 384.3 MB, free: 47.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005742/0.5882, allocations: 148.9 kB / 384.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004094/0.5886, allocations: 180.8 kB / 384.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.6035, allocations: 4.291 MB / 388.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04694/0.6506, allocations: 14.91 MB / 403.8 MB, free: 35.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006381/0.657, allocations: 4.203 MB / 408 MB, free: 31.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/0.6609, allocations: 1.982 MB / 410 MB, free: 29.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.6615, allocations: 138.7 kB / 410.1 MB, free: 29.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/0.6616, allocations: 60.88 kB / 410.2 MB, free: 29.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 6.041e-06/0.6616, allocations: 0 / 410.2 MB, free: 29.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.02425/0.6859, allocations: 10.01 MB / 420.2 MB, free: 19.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.248e-05/0.686, allocations: 74.5 kB / 420.3 MB, free: 18.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.6922, allocations: 2.51 MB / 422.8 MB, free: 16.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004589/0.6927, allocations: 65.64 kB / 422.8 MB, free: 16.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.6941, allocations: 1.614 MB / 424.4 MB, free: 14.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.6953, allocations: 0.7343 MB / 425.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.6965, allocations: 420.3 kB / 425.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.6966, allocations: 309.1 kB / 425.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.6988, allocations: 1.297 MB / 427.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.7012, allocations: 1.779 MB / 429 MB, free: 10.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/0.706, allocations: 3.227 MB / 432.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/0.7061, allocations: 6.734 kB / 432.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008066/0.7141, allocations: 4.072 MB / 436.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.7142, allocations: 8 kB / 436.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.7143, allocations: 19.09 kB / 436.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.7172, allocations: 0.8823 MB / 437.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.7196, allocations: 0.5304 MB / 437.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.7328, allocations: 9.477 MB / 447.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/0.736, allocations: 115.9 kB / 447.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.7367, allocations: 88 kB / 447.4 MB, free: 6.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003628/0.7403, allocations: 1.223 MB / 448.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/0.7417, allocations: 272.7 kB / 448.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/0.75, allocations: 3.715 MB / 452.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.7501, allocations: 27.94 kB / 452.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.74e-05/0.7501, allocations: 8 kB / 452.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.7502, allocations: 11.95 kB / 452.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/0.7707, allocations: 8.091 MB / 460.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/0.7707, allocations: 7.984 kB / 460.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.7726, allocations: 383.8 kB / 461.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/0.7761, allocations: 0.9251 MB / 462 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002969/0.7764, allocations: 59.97 kB / 462.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.79, allocations: 11.06 MB / 473.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.7901, allocations: 4 kB / 473.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.8014, allocations: 5.508 MB / 478.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002572/0.8041, allocations: 0.6382 MB / 479.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/0.8052, allocations: 51.98 kB / 479.3 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/0.8077, allocations: 115.9 kB / 479.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007626/0.8085, allocations: 185.7 kB / 479.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/0.8088, allocations: 63.98 kB / 479.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005227/0.814, allocations: 1.731 MB / 481.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8141, allocations: 0 / 481.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00506/0.8191, allocations: 0.7917 MB / 482.2 MB, free: 3.375 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.001136/0.8203, allocations: 238.7 kB / 482.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01326/0.8336, allocations: 5.716 MB / 488.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.337e-05/0.8336, allocations: 4 kB / 488.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005357/0.839, allocations: 2.473 MB / 490.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007247/0.8463, allocations: 0.7892 MB / 491.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.8684, allocations: 9.348 MB / 0.4891 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003903/0.8723, allocations: 2.773 MB / 0.4918 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003008/0.8753, allocations: 0.6905 MB / 0.4924 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.876, allocations: 175.4 kB / 0.4926 GB, free: 12.97 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.876, allocations: 0 / 0.4926 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Templates: time 0.3658/1.242, allocations: 46.22 MB / 0.5377 GB, free: 146.3 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)