Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001356/0.001356, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001719/0.00172, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.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.0004497/0.0004497, allocations: 12 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3469, allocations: 47.57 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01433/0.3613, allocations: 10.34 MB / 336.8 MB, free: 9.184 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3719, allocations: 4.149 MB / 340.9 MB, free: 5.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.3749, allocations: 59.69 kB / 341 MB, free: 4.969 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.3775, allocations: 0.8008 MB / 341.8 MB, free: 4.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.3815, allocations: 0.9891 MB / 342.8 MB, free: 3.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3827, allocations: 327.5 kB / 343.1 MB, free: 2.852 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005448/0.3882, allocations: 2.967 MB / 346.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.3915, allocations: 2.511 MB / 348.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.3943, allocations: 1.444 MB / 350 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.3977, allocations: 1.817 MB / 351.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006354/0.3984, allocations: 240 kB / 352.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3996, allocations: 307.9 kB / 352.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.4008, allocations: 1.083 MB / 353.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.4021, allocations: 0.8394 MB / 354.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006741/0.4088, allocations: 5.941 MB / 360.2 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4089, allocations: 4 kB / 360.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.4089, allocations: 0 / 360.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002728/0.4092, allocations: 0 / 360.3 MB, free: 1.613 MB / 286.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.01127/0.4204, allocations: 3.982 MB / 364.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.4205, allocations: 8.031 kB / 364.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.4232, allocations: 0.4908 MB / 364.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006081/0.4293, allocations: 2.318 MB / 367.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.4296, allocations: 263.1 kB / 367.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.4307, allocations: 355.9 kB / 367.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.4443, allocations: 4.974 MB / 372.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.4445, allocations: 11.91 kB / 372.6 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004362/0.4449, allocations: 148 kB / 372.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/0.4451, allocations: 183 kB / 373 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008903/0.4541, allocations: 4.287 MB / 377.3 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03097/0.4851, allocations: 14.95 MB / 392.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/0.4898, allocations: 4.204 MB / 396.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.4902, allocations: 127.1 kB / 396.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.4902, allocations: 56.56 kB / 396.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.408e-06/0.4903, allocations: 0 / 396.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.0228/0.5131, allocations: 10.33 MB / 406.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.5132, allocations: 81.36 kB / 407 MB, free: 1.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/0.5178, allocations: 2.443 MB / 409.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001738/0.518, allocations: 61.7 kB / 409.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.5194, allocations: 1.623 MB / 411.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006976/0.5201, allocations: 0.7277 MB / 411.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5202, allocations: 44 kB / 411.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003168/0.5206, allocations: 398.6 kB / 412.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.5228, allocations: 1.324 MB / 413.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.5253, allocations: 1.786 MB / 415.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.5276, allocations: 1.583 MB / 417 MB, free: 7.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5277, allocations: 7.938 kB / 417 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007222/0.5349, allocations: 4.103 MB / 421.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.535, allocations: 8 kB / 421.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.535, allocations: 20.03 kB / 421.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.538, allocations: 0.8788 MB / 422 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.5401, allocations: 0.5226 MB / 422.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5504, allocations: 8.942 MB / 431.5 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.5529, allocations: 123.9 kB / 431.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.5531, allocations: 83.98 kB / 431.7 MB, free: 8.504 MB / 366.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 (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 initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002532/0.5557, allocations: 1.223 MB / 432.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/0.5563, allocations: 272.7 kB / 433.1 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/0.5627, allocations: 3.766 MB / 436.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.5627, allocations: 20 kB / 436.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.5627, allocations: 8 kB / 436.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.5628, allocations: 11.95 kB / 437 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.579, allocations: 8.083 MB / 445 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.5791, allocations: 8 kB / 445 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.5809, allocations: 387.8 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/0.5841, allocations: 0.9251 MB / 446.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.5844, allocations: 55.97 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.264/0.8484, allocations: 10.42 MB / 456.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.8485, allocations: 8.078 kB / 456.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.8595, allocations: 5.79 MB / 462.6 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/0.8618, allocations: 0.6297 MB / 463.2 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/0.8622, allocations: 55.11 kB / 463.3 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.8634, allocations: 132.1 kB / 463.4 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/0.8639, allocations: 178.9 kB / 463.6 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.864, allocations: 56.53 kB / 463.7 MB, free: 105.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002376/0.8664, allocations: 1.681 MB / 465.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.8664, allocations: 0 / 465.3 MB, free: 104.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002539/0.8689, allocations: 0.7977 MB / 466.1 MB, free: 104.8 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005592/0.8695, allocations: 206.7 kB / 466.3 MB, free: 104.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005438/0.875, allocations: 3.93 MB / 470.3 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.875, allocations: 3.609 kB / 470.3 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003595/0.8786, allocations: 2.512 MB / 472.8 MB, free: 101.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.8819, allocations: 0.7198 MB / 473.5 MB, free: 101.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.8934, allocations: 9.116 MB / 482.6 MB, free: 92.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.8953, allocations: 2.843 MB / 485.5 MB, free: 89.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002097/0.8974, allocations: 0.6788 MB / 486.1 MB, free: 88.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.8979, allocations: 179.4 kB / 486.3 MB, free: 88.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.8979, allocations: 0 / 486.3 MB, free: 88.75 MB / 382.1 MB Notification: Performance of Templates: time 0.05913/0.957, allocations: 42.28 MB / 0.5162 GB, free: 46.43 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: