Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 109.5 kB / 17.06 MB, free: 6.023 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.001275/0.001276, allocations: 191 kB / 18 MB, free: 5.105 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.901/1.901, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001262/0.001262, allocations: 43.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3993/0.5457, allocations: 9.648 MB / 384.1 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00888/0.5546, allocations: 3.073 MB / 387.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.5574, allocations: 41.66 kB / 387.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.5603, allocations: 0.6364 MB / 387.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.5645, allocations: 0.7412 MB / 388.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.5658, allocations: 378.9 kB / 389 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.5701, allocations: 2.464 MB / 391.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.5726, allocations: 1.712 MB / 393.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.575, allocations: 1.071 MB / 394.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.5772, allocations: 1.309 MB / 395.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.5777, allocations: 283.2 kB / 395.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5789, allocations: 367.8 kB / 396.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008858/0.5798, allocations: 0.766 MB / 397 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.5816, allocations: 1.27 MB / 398.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006502/0.5881, allocations: 3.653 MB / 401.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.5882, allocations: 0 / 401.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5882, allocations: 0 / 401.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.5884, allocations: 1.375 kB / 401.9 MB, free: 15.25 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00911/0.5975, allocations: 2.576 MB / 404.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.436e-05/0.5976, allocations: 17.08 kB / 404.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.5992, allocations: 266.2 kB / 404.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.6032, allocations: 1.26 MB / 406 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.6034, allocations: 146.4 kB / 406.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.6038, allocations: 193.3 kB / 406.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005838/0.6097, allocations: 2.424 MB / 408.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/0.6098, allocations: 7.656 kB / 408.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.61, allocations: 79.83 kB / 408.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.6102, allocations: 88.25 kB / 408.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.6145, allocations: 1.96 MB / 410.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.6285, allocations: 7.768 MB / 418.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.6305, allocations: 1.234 MB / 419.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.6326, allocations: 0.9722 MB / 420.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.6329, allocations: 114.1 kB / 421 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.633, allocations: 47.56 kB / 421 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/0.633, allocations: 4 kB / 421 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01369/0.6467, allocations: 5.863 MB / 426.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.6468, allocations: 65.44 kB / 426.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.649, allocations: 1.302 MB / 428.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.6491, allocations: 41.7 kB / 428.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/0.6499, allocations: 0.9237 MB / 429.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.6502, allocations: 390.4 kB / 429.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.6506, allocations: 251.4 kB / 429.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6508, allocations: 361.9 kB / 430.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.6518, allocations: 0.6364 MB / 430.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.6531, allocations: 0.9964 MB / 431.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.6555, allocations: 1.739 MB / 433.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.6555, allocations: 0 / 433.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004215/0.6597, allocations: 2.253 MB / 435.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.6598, allocations: 8 kB / 435.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.6598, allocations: 12 kB / 435.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.6611, allocations: 492.2 kB / 436.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.6622, allocations: 299.5 kB / 436.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/0.6701, allocations: 7.128 MB / 443.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.6717, allocations: 83.91 kB / 443.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.6719, allocations: 56 kB / 443.9 MB, free: 8.844 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001497/0.6734, allocations: 0.6073 MB / 444.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.6738, allocations: 146.2 kB / 444.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/0.6776, allocations: 1.972 MB / 446.6 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6776, allocations: 8 kB / 446.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6777, allocations: 4 kB / 446.6 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.6777, allocations: 11.98 kB / 446.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/0.6851, allocations: 4.117 MB / 450.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6852, allocations: 4 kB / 450.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/0.686, allocations: 187.7 kB / 450.9 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.6874, allocations: 0.5429 MB / 451.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.6875, allocations: 31.98 kB / 451.5 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008754/0.6963, allocations: 8.754 MB / 460.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6963, allocations: 4 kB / 460.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.7014, allocations: 2.855 MB / 463.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.7025, allocations: 351.3 kB / 463.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.7027, allocations: 28 kB / 463.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.7035, allocations: 67.92 kB / 463.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.7038, allocations: 88.84 kB / 463.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.7039, allocations: 35.98 kB / 463.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.7054, allocations: 0.8917 MB / 464.6 MB, free: 3.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7054, allocations: 0 / 464.6 MB, free: 3.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00174/0.7071, allocations: 432 kB / 465 MB, free: 2.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,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.0004001/0.7075, allocations: 179.8 kB / 465.2 MB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.711, allocations: 2.236 MB / 467.4 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.711, allocations: 0 / 467.4 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.7134, allocations: 1.51 MB / 468.9 MB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.7156, allocations: 411.3 kB / 469.3 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006985/0.7226, allocations: 4.118 MB / 473.4 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.724, allocations: 1.646 MB / 475.1 MB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.7251, allocations: 320.8 kB / 475.4 MB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.7254, allocations: 99.42 kB / 475.5 MB, free: 8.184 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7254, allocations: 0 / 475.5 MB, free: 8.184 MB / 398.1 MB Notification: Performance of Templates: time 0.04644/0.7719, allocations: 24.09 MB / 499.6 MB, free: 48 kB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)