Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009098, allocations: 93.27 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.0008609/0.000861, allocations: 178.8 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.541/1.541, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004411/0.0004411, allocations: 19.28 kB / 280.1 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1057, allocations: 47.57 MB / 327.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02692/0.1327, allocations: 26.33 MB / 354 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.1514, allocations: 8.645 MB / 362.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006742/0.1582, allocations: 191.2 kB / 362.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007389/0.1656, allocations: 1.8 MB / 364.7 MB, free: 15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.178, allocations: 3.163 MB / 367.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006322/0.1844, allocations: 1.426 MB / 369.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.208/0.3924, allocations: 11.52 MB / 380.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03447/0.4269, allocations: 17.43 MB / 398.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008186/0.4351, allocations: 4.491 MB / 402.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008701/0.4439, allocations: 4.966 MB / 407.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002408/0.4463, allocations: 0.7285 MB / 408.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/0.4505, allocations: 1.018 MB / 409.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.4529, allocations: 2.311 MB / 411.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.4559, allocations: 2.416 MB / 414.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.4739, allocations: 21.02 MB / 435.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4739, allocations: 0 / 435.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4739, allocations: 0 / 435.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007331/0.4747, allocations: 4 kB / 435.2 MB, free: 9.133 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03609/0.5108, allocations: 12.41 MB / 447.6 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5108, allocations: 8.031 kB / 447.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04374/0.5546, allocations: 7.702 MB / 455.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/0.572, allocations: 7.208 MB / 462.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008393/0.5729, allocations: 0.8045 MB / 463.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004512/0.5774, allocations: 1.057 MB / 464.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05214/0.6296, allocations: 17.51 MB / 481.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007373/0.6304, allocations: 26.05 kB / 481.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004655/0.635, allocations: 456.2 kB / 482.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007441/0.6358, allocations: 0.654 MB / 483 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04006/0.6758, allocations: 16.91 MB / 499.9 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.487/1.163, allocations: 57.22 MB / 0.5441 GB, free: 97.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02897/1.192, allocations: 40.01 MB / 0.5831 GB, free: 63.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02139/1.213, allocations: 12.46 MB / 0.5953 GB, free: 61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.213, allocations: 81.33 kB / 0.5954 GB, free: 60.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=410): time 6.803e-06/1.213, allocations: 0 / 0.5954 GB, free: 60.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=435): time 0.04831/1.262, allocations: 22.26 MB / 0.6171 GB, free: 49.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.262, allocations: 124.3 kB / 0.6172 GB, free: 49.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/1.268, allocations: 4.725 MB / 0.6219 GB, free: 46.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009791/1.269, allocations: 101.4 kB / 0.622 GB, free: 46.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00255/1.272, allocations: 4.77 MB / 0.6266 GB, free: 42.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.274, allocations: 1.487 MB / 0.6281 GB, free: 41.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/1.274, allocations: 130.6 kB / 0.6282 GB, free: 40.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002583/1.274, allocations: 0.5553 MB / 0.6287 GB, free: 40.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/1.278, allocations: 2.995 MB / 0.6317 GB, free: 38.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004775/1.283, allocations: 5.227 MB / 0.6368 GB, free: 33.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004967/1.288, allocations: 4.102 MB / 0.6408 GB, free: 29.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/1.288, allocations: 20 kB / 0.6408 GB, free: 29.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01471/1.303, allocations: 10.08 MB / 0.6506 GB, free: 19.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/1.303, allocations: 44.02 kB / 0.6507 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.303, allocations: 79.98 kB / 0.6508 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003972/1.307, allocations: 1.66 MB / 0.6524 GB, free: 17.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/1.312, allocations: 1.416 MB / 0.6538 GB, free: 16.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/1.332, allocations: 16.9 MB / 0.6703 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/1.338, allocations: 343.8 kB / 0.6706 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.339, allocations: 304 kB / 0.6709 GB, free: 14.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 (718): * Single equations (assignments): 714 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,69.4%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008829/1.348, allocations: 3.947 MB / 0.6747 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.349, allocations: 0.5016 MB / 0.6752 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.364, allocations: 7.93 MB / 0.683 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-05/1.364, allocations: 44 kB / 0.683 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/1.364, allocations: 19.95 kB / 0.683 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.925e-05/1.364, allocations: 19.92 kB / 0.683 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2534/1.617, allocations: 17.71 MB / 0.7003 GB, free: 137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-05/1.617, allocations: 5.406 kB / 0.7004 GB, free: 137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004135/1.621, allocations: 0.7589 MB / 0.7011 GB, free: 137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005007/1.626, allocations: 1.542 MB / 0.7026 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/1.628, allocations: 103.8 kB / 0.7027 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/1.651, allocations: 19.88 MB / 0.7221 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.651, allocations: 10.72 kB / 0.7221 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.67, allocations: 12.41 MB / 0.7342 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004516/1.674, allocations: 1.18 MB / 0.7354 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002218/1.676, allocations: 90.03 kB / 0.7355 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004293/1.681, allocations: 239.6 kB / 0.7357 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/1.682, allocations: 341.2 kB / 0.736 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003918/1.682, allocations: 126.1 kB / 0.7362 GB, free: 119.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006188/1.689, allocations: 3.177 MB / 0.7393 GB, free: 118.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.689, allocations: 0 / 0.7393 GB, free: 118.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009669/1.698, allocations: 1.894 MB / 0.7411 GB, free: 118.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,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 (376): * Single equations (assignments): 369 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/1.7, allocations: 282.9 kB / 0.7414 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01381/1.714, allocations: 8.308 MB / 0.7495 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.714, allocations: 3.562 kB / 0.7495 GB, free: 114.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008049/1.722, allocations: 4.73 MB / 0.7541 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00662/1.728, allocations: 1.191 MB / 0.7553 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/1.769, allocations: 23.27 MB / 0.778 GB, free: 93.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008456/1.777, allocations: 7.035 MB / 0.7849 GB, free: 88.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006027/1.783, allocations: 1.944 MB / 0.7868 GB, free: 86.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.784, allocations: 387.4 kB / 0.7871 GB, free: 86.15 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/1.784, allocations: 0 / 0.7871 GB, free: 86.15 MB / 462.1 MB Notification: Performance of Templates: time 0.1138/1.898, allocations: 79.21 MB / 0.8645 GB, free: 6.859 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) Environment - environmentSimulation: