Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001758/0.001758, allocations: 100.1 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.002254/0.002254, 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.897/1.897, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004951/0.0004954, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 47.59 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.01333/0.294, allocations: 10.35 MB / 336.8 MB, free: 9.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.3053, allocations: 4.145 MB / 340.9 MB, free: 4.996 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.3086, allocations: 63.69 kB / 341 MB, free: 4.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.3119, allocations: 0.8008 MB / 341.8 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.3169, allocations: 0.9852 MB / 342.8 MB, free: 3.141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3185, allocations: 327.6 kB / 343.1 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006345/0.3248, allocations: 2.959 MB / 346.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00453/0.3294, allocations: 2.522 MB / 348.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.3328, allocations: 1.444 MB / 350 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004317/0.3371, allocations: 1.813 MB / 351.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.3383, allocations: 244 kB / 352.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.3398, allocations: 299.9 kB / 352.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.3413, allocations: 1.087 MB / 353.5 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.3433, allocations: 0.8394 MB / 354.3 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009632/0.3529, allocations: 5.952 MB / 360.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.353, allocations: 0 / 360.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.309e-06/0.353, allocations: 0 / 360.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0003772/0.3534, allocations: 0 / 360.3 MB, free: 1.574 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.01266/0.3661, allocations: 3.97 MB / 364.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.923e-05/0.3662, allocations: 8.031 kB / 364.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.3696, allocations: 0.4986 MB / 364.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.3768, allocations: 2.318 MB / 367.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.3771, allocations: 263.1 kB / 367.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.3782, allocations: 351.9 kB / 367.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.3904, allocations: 4.978 MB / 372.6 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.3906, allocations: 8 kB / 372.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/0.391, allocations: 144 kB / 372.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/0.3912, allocations: 187 kB / 373 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.4007, allocations: 4.291 MB / 377.3 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.4322, allocations: 14.95 MB / 392.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006169/0.4385, allocations: 4.197 MB / 396.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/0.4389, allocations: 139 kB / 396.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.439, allocations: 56.56 kB / 396.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 5.2e-06/0.439, allocations: 0 / 396.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02513/0.4642, allocations: 10.33 MB / 406.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.4643, allocations: 77.36 kB / 407 MB, free: 1.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/0.4687, allocations: 2.443 MB / 409.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005507/0.4693, allocations: 65.7 kB / 409.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.471, allocations: 1.623 MB / 411.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.4721, allocations: 0.7316 MB / 411.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.4722, allocations: 44 kB / 411.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.4725, allocations: 402.6 kB / 412.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.4747, allocations: 1.32 MB / 413.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/0.4774, allocations: 1.79 MB / 415.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.4798, allocations: 1.567 MB / 417 MB, free: 7.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.4799, allocations: 4 kB / 417 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007948/0.4878, allocations: 4.11 MB / 421.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.4879, allocations: 8 kB / 421.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.4879, allocations: 12 kB / 421.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/0.4908, allocations: 0.8754 MB / 422 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.4934, allocations: 0.5265 MB / 422.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.5053, allocations: 8.938 MB / 431.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.5086, allocations: 127.9 kB / 431.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006273/0.5093, allocations: 84 kB / 431.7 MB, free: 8.477 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.003648/0.513, allocations: 1.219 MB / 432.9 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008783/0.5138, allocations: 276.7 kB / 433.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007344/0.5212, allocations: 3.762 MB / 436.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.5213, allocations: 28 kB / 436.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.5213, allocations: 8 kB / 436.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.5213, allocations: 7.969 kB / 436.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/0.5402, allocations: 8.083 MB / 445 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.5403, allocations: 4 kB / 445 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.542, allocations: 383.8 kB / 445.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/0.5454, allocations: 0.9486 MB / 446.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/0.5458, allocations: 47.98 kB / 446.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.288/0.8338, allocations: 10.41 MB / 456.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-05/0.834, allocations: 7.125 kB / 456.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.8475, allocations: 5.795 MB / 462.6 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/0.8499, allocations: 0.6326 MB / 463.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006328/0.8506, allocations: 51.47 kB / 463.3 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.8521, allocations: 132 kB / 463.4 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/0.8527, allocations: 183.3 kB / 463.6 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.8528, allocations: 57.19 kB / 463.7 MB, free: 105.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003478/0.8563, allocations: 1.682 MB / 465.3 MB, free: 104.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.8564, allocations: 0 / 465.3 MB, free: 104.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004868/0.8612, allocations: 0.7941 MB / 466.1 MB, free: 104.6 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.0007971/0.8621, allocations: 206.6 kB / 466.3 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006303/0.8684, allocations: 3.931 MB / 470.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.8684, allocations: 7.547 kB / 470.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004097/0.8725, allocations: 2.502 MB / 472.8 MB, free: 101.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/0.8769, allocations: 0.7193 MB / 473.5 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.8918, allocations: 9.125 MB / 482.6 MB, free: 92.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/0.8942, allocations: 2.839 MB / 485.5 MB, free: 89.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002401/0.8966, allocations: 0.6827 MB / 486.1 MB, free: 88.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.8972, allocations: 175.4 kB / 486.3 MB, free: 88.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.8972, allocations: 0 / 486.3 MB, free: 88.66 MB / 382.1 MB Notification: Performance of Templates: time 0.0661/0.9633, allocations: 42.26 MB / 0.5162 GB, free: 46.35 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: