Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001629/0.001629, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.488/1.488, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001297/0.001298, allocations: 55.92 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2397, allocations: 46.62 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03405/0.2738, allocations: 32.95 MB / 358.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.2948, allocations: 8.987 MB / 367.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006374/0.3012, allocations: 203.2 kB / 367.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01858/0.3198, allocations: 7.933 MB / 375.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.3345, allocations: 3.71 MB / 379.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008279/0.3428, allocations: 2.135 MB / 381.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02226/0.3651, allocations: 13.06 MB / 394.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04055/0.4057, allocations: 22.6 MB / 416.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.4171, allocations: 6.604 MB / 423.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.4294, allocations: 7.346 MB / 430.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005458/0.4349, allocations: 1.891 MB / 432.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007435/0.4424, allocations: 2.257 MB / 435 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007378/0.4498, allocations: 3.815 MB / 438.8 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01368/0.4635, allocations: 7.183 MB / 446 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2241/0.6876, allocations: 24.94 MB / 470.9 MB, free: 51.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6877, allocations: 0 / 470.9 MB, free: 51.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6877, allocations: 0.8125 kB / 470.9 MB, free: 51.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006613/0.6884, allocations: 0 / 470.9 MB, free: 51.38 MB / 382.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.05199/0.7403, allocations: 14.82 MB / 485.8 MB, free: 45.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7404, allocations: 9.531 kB / 485.8 MB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/0.7847, allocations: 7.734 MB / 493.5 MB, free: 42.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/0.804, allocations: 7.319 MB / 0.4891 GB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.805, allocations: 0.8047 MB / 0.4899 GB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006783/0.8118, allocations: 1.071 MB / 0.4909 GB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04948/0.8613, allocations: 17.67 MB / 0.5082 GB, free: 19.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006099/0.862, allocations: 19.8 kB / 0.5082 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004984/0.867, allocations: 450.2 kB / 0.5086 GB, free: 19.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006255/0.8676, allocations: 0.659 MB / 0.5093 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03417/0.9018, allocations: 16.97 MB / 0.5258 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/1.015, allocations: 57.17 MB / 0.5817 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2073/1.222, allocations: 40.05 MB / 0.6208 GB, free: 171.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007453/1.23, allocations: 4.499 MB / 0.6252 GB, free: 171 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01963/1.249, allocations: 12.71 MB / 0.6376 GB, free: 166.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/1.249, allocations: 80.88 kB / 0.6377 GB, free: 166.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 4.839e-06/1.249, allocations: 0 / 0.6377 GB, free: 166.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.04456/1.294, allocations: 21.46 MB / 0.6586 GB, free: 155.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.294, allocations: 120.7 kB / 0.6587 GB, free: 154.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007735/1.302, allocations: 4.83 MB / 0.6635 GB, free: 150.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000769/1.302, allocations: 93.7 kB / 0.6635 GB, free: 150.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002319/1.305, allocations: 4.794 MB / 0.6682 GB, free: 146.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.306, allocations: 1.455 MB / 0.6696 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002716/1.309, allocations: 1.194 MB / 0.6708 GB, free: 144.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.803e-05/1.309, allocations: 305.1 kB / 0.6711 GB, free: 143.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004341/1.313, allocations: 2.968 MB / 0.674 GB, free: 141.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005733/1.319, allocations: 5.239 MB / 0.6791 GB, free: 135.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/1.329, allocations: 8.72 MB / 0.6876 GB, free: 125.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.409e-05/1.329, allocations: 20 kB / 0.6876 GB, free: 125.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01735/1.346, allocations: 10.05 MB / 0.6975 GB, free: 115.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.347, allocations: 40 kB / 0.6975 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.347, allocations: 72 kB / 0.6976 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004518/1.351, allocations: 1.685 MB / 0.6992 GB, free: 114 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/1.357, allocations: 1.4 MB / 0.7006 GB, free: 112.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/1.377, allocations: 17.78 MB / 0.7179 GB, free: 94.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/1.383, allocations: 335.6 kB / 0.7183 GB, free: 93.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.384, allocations: 308 kB / 0.7186 GB, free: 93.65 MB / 478.1 MB 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.006946/1.391, allocations: 3.951 MB / 0.7224 GB, free: 89.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.393, allocations: 0.5056 MB / 0.7229 GB, free: 89.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.407, allocations: 7.789 MB / 0.7305 GB, free: 81.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.407, allocations: 44 kB / 0.7306 GB, free: 81.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/1.407, allocations: 19.98 kB / 0.7306 GB, free: 81.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/1.407, allocations: 19.92 kB / 0.7306 GB, free: 81.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03466/1.442, allocations: 17.55 MB / 0.7477 GB, free: 63.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/1.442, allocations: 5.5 kB / 0.7477 GB, free: 63.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/1.445, allocations: 0.7216 MB / 0.7484 GB, free: 62.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/1.449, allocations: 1.566 MB / 0.75 GB, free: 61.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009793/1.45, allocations: 108 kB / 0.7501 GB, free: 61.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/1.47, allocations: 21.24 MB / 0.7708 GB, free: 38.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/1.47, allocations: 11.88 kB / 0.7708 GB, free: 38.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/1.488, allocations: 11.46 MB / 0.782 GB, free: 27.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002845/1.491, allocations: 1.151 MB / 0.7831 GB, free: 26.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/1.492, allocations: 91.98 kB / 0.7832 GB, free: 25.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.496, allocations: 231.8 kB / 0.7834 GB, free: 25.76 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008778/1.496, allocations: 323.3 kB / 0.7838 GB, free: 25.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002908/1.497, allocations: 132 kB / 0.7839 GB, free: 25.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004431/1.501, allocations: 3.255 MB / 0.7871 GB, free: 22.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.501, allocations: 4 kB / 0.7871 GB, free: 22.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007762/1.509, allocations: 1.899 MB / 0.7889 GB, free: 20.16 MB / 478.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 (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.0008064/1.51, allocations: 266.1 kB / 0.7892 GB, free: 19.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1855/1.695, allocations: 11.69 MB / 0.8006 GB, free: 160.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.695, allocations: 4.938 kB / 0.8006 GB, free: 160.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.703, allocations: 4.638 MB / 0.8051 GB, free: 159.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/1.709, allocations: 1.307 MB / 0.8064 GB, free: 159.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/1.741, allocations: 19.68 MB / 0.8256 GB, free: 151.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0102/1.751, allocations: 6.848 MB / 0.8323 GB, free: 149.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006397/1.758, allocations: 1.929 MB / 0.8342 GB, free: 148 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.759, allocations: 383.1 kB / 0.8346 GB, free: 147.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/1.759, allocations: 4 kB / 0.8346 GB, free: 147.6 MB / 478.1 MB Notification: Performance of Templates: time 0.126/1.885, allocations: 85.72 MB / 0.9183 GB, free: 66.41 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)