Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.006775/0.006775, allocations: 105.6 kB / 15.74 MB, free: 6.008 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.001354/0.001354, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.611/1.611, allocations: 205.1 MB / 222.6 MB, free: 4.281 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.00135/0.00135, allocations: 42.84 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 46.63 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03512/0.153, allocations: 32.94 MB / 406.2 MB, free: 188 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02522/0.1782, allocations: 8.982 MB / 415.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009641/0.1879, allocations: 203.3 kB / 415.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02061/0.2086, allocations: 7.952 MB / 423.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.2252, allocations: 3.702 MB / 427 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008286/0.2335, allocations: 2.14 MB / 429.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02163/0.2551, allocations: 13.13 MB / 442.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3061/0.5614, allocations: 22.47 MB / 464.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01725/0.5787, allocations: 6.612 MB / 471.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01513/0.5939, allocations: 7.317 MB / 478.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006463/0.6004, allocations: 1.891 MB / 480.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008312/0.6087, allocations: 2.255 MB / 482.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007525/0.6163, allocations: 3.808 MB / 486.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01512/0.6314, allocations: 7.178 MB / 493.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03186/0.6633, allocations: 25.08 MB / 0.5067 GB, free: 2.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.6634, allocations: 0 / 0.5067 GB, free: 2.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6634, allocations: 3.844 kB / 0.5067 GB, free: 2.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008196/0.6642, allocations: 0 / 0.5067 GB, free: 2.273 MB / 398.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.05351/0.7178, allocations: 14.74 MB / 0.5211 GB, free: 3.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.7178, allocations: 16.03 kB / 0.5211 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04408/0.7619, allocations: 7.785 MB / 0.5287 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/0.7826, allocations: 7.357 MB / 0.5359 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.7836, allocations: 0.7961 MB / 0.5367 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005742/0.7894, allocations: 1.068 MB / 0.5377 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05133/0.8408, allocations: 17.67 MB / 0.555 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006275/0.8415, allocations: 23.89 kB / 0.555 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004338/0.8458, allocations: 444.3 kB / 0.5554 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006993/0.8465, allocations: 0.663 MB / 0.5561 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03877/0.8853, allocations: 16.98 MB / 0.5726 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/1.009, allocations: 56.48 MB / 0.6278 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4788/1.488, allocations: 40.06 MB / 0.6669 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00781/1.496, allocations: 4.468 MB / 0.6713 GB, free: 135 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02134/1.518, allocations: 12.68 MB / 0.6837 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.518, allocations: 73.66 kB / 0.6837 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.47e-06/1.518, allocations: 0 / 0.6837 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.03894/1.557, allocations: 21.47 MB / 0.7047 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.557, allocations: 122.7 kB / 0.7048 GB, free: 119 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006629/1.563, allocations: 4.823 MB / 0.7095 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005106/1.564, allocations: 96.7 kB / 0.7096 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.566, allocations: 4.802 MB / 0.7143 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/1.567, allocations: 1.456 MB / 0.7157 GB, free: 112.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/1.569, allocations: 1.191 MB / 0.7169 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/1.569, allocations: 305.1 kB / 0.7172 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/1.573, allocations: 2.961 MB / 0.7201 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/1.579, allocations: 5.246 MB / 0.7252 GB, free: 106.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009547/1.589, allocations: 8.722 MB / 0.7337 GB, free: 96.54 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.129e-05/1.589, allocations: 20 kB / 0.7337 GB, free: 96.52 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01625/1.605, allocations: 10.04 MB / 0.7435 GB, free: 86.42 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/1.605, allocations: 45.14 kB / 0.7436 GB, free: 86.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/1.605, allocations: 72 kB / 0.7437 GB, free: 86.31 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/1.61, allocations: 1.67 MB / 0.7453 GB, free: 84.63 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/1.616, allocations: 1.396 MB / 0.7466 GB, free: 83.23 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.635, allocations: 17.75 MB / 0.764 GB, free: 64.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/1.641, allocations: 347.7 kB / 0.7643 GB, free: 64.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.643, allocations: 300 kB / 0.7646 GB, free: 64.31 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008589/1.651, allocations: 3.951 MB / 0.7685 GB, free: 60.34 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/1.653, allocations: 0.5053 MB / 0.769 GB, free: 59.84 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.665, allocations: 7.793 MB / 0.7766 GB, free: 51.94 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/1.665, allocations: 40 kB / 0.7766 GB, free: 51.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-05/1.665, allocations: 20 kB / 0.7766 GB, free: 51.88 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/1.665, allocations: 23.92 kB / 0.7766 GB, free: 51.86 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03058/1.696, allocations: 17.54 MB / 0.7938 GB, free: 34.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.696, allocations: 8 kB / 0.7938 GB, free: 34.17 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/1.699, allocations: 0.7256 MB / 0.7945 GB, free: 33.44 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003824/1.703, allocations: 1.554 MB / 0.796 GB, free: 31.86 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005969/1.703, allocations: 99.97 kB / 0.7961 GB, free: 31.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/1.722, allocations: 21.2 MB / 0.8168 GB, free: 9.621 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.722, allocations: 11.94 kB / 0.8168 GB, free: 9.609 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.376/2.098, allocations: 11.46 MB / 0.828 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005911/2.104, allocations: 1.153 MB / 0.8291 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/2.107, allocations: 87.19 kB / 0.8292 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006614/2.114, allocations: 229.5 kB / 0.8294 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/2.115, allocations: 332.2 kB / 0.8298 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007248/2.116, allocations: 128.8 kB / 0.8299 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00919/2.125, allocations: 3.256 MB / 0.8331 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9.22e-07/2.125, allocations: 0.9688 kB / 0.8331 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01076/2.136, allocations: 1.894 MB / 0.8349 GB, free: 153.6 MB / 0.5138 GB 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/2.137, allocations: 268.9 kB / 0.8352 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01916/2.157, allocations: 8.256 MB / 0.8432 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/2.157, allocations: 3.391 kB / 0.8432 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008845/2.166, allocations: 4.644 MB / 0.8478 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009737/2.175, allocations: 1.308 MB / 0.849 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04534/2.221, allocations: 19.44 MB / 0.868 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01612/2.237, allocations: 6.861 MB / 0.8747 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007439/2.244, allocations: 1.927 MB / 0.8766 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/2.246, allocations: 384.1 kB / 0.877 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/2.246, allocations: 4 kB / 0.877 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1319/2.378, allocations: 81.67 MB / 0.9567 GB, free: 62.38 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)