Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001001/0.001001, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.228/1.228, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001184/0.001184, allocations: 47.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06706/0.06825, allocations: 46.62 MB / 375.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1658/0.234, allocations: 38.37 MB / 414.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.2531, allocations: 10 MB / 424.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005615/0.2588, allocations: 250.1 kB / 424.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02165/0.2805, allocations: 10.19 MB / 434.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.2919, allocations: 4.072 MB / 438.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005934/0.2978, allocations: 2.422 MB / 441.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01741/0.3153, allocations: 16.53 MB / 457.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03563/0.3509, allocations: 31.19 MB / 488.9 MB, free: 14.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009522/0.3604, allocations: 8.532 MB / 497.4 MB, free: 5.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.3716, allocations: 9.425 MB / 0.495 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00295/0.3745, allocations: 2.426 MB / 0.4973 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/0.379, allocations: 2.816 MB / 0.5001 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00361/0.3826, allocations: 4.871 MB / 0.5048 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008981/0.3916, allocations: 9.284 MB / 0.5139 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02516/0.4168, allocations: 32.12 MB / 0.5453 GB, free: 8.617 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4168, allocations: 0 / 0.5453 GB, free: 8.617 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4168, allocations: 3.938 kB / 0.5453 GB, free: 8.613 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004405/0.4172, allocations: 0 / 0.5453 GB, free: 8.613 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.3171/0.7343, allocations: 18.84 MB / 0.5637 GB, free: 132.8 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7344, allocations: 11.28 kB / 0.5637 GB, free: 132.8 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05028/0.7846, allocations: 9.282 MB / 0.5727 GB, free: 130.2 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.7995, allocations: 9.201 MB / 0.5817 GB, free: 124 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/0.8, allocations: 1.075 MB / 0.5828 GB, free: 123.5 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/0.8021, allocations: 1.404 MB / 0.5841 GB, free: 122.8 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03162/0.8337, allocations: 23.21 MB / 0.6068 GB, free: 99.5 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/0.834, allocations: 15.81 kB / 0.6068 GB, free: 99.48 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/0.8355, allocations: 0.5891 MB / 0.6074 GB, free: 98.91 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000528/0.836, allocations: 0.8109 MB / 0.6082 GB, free: 98.09 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02907/0.8651, allocations: 21.68 MB / 0.6294 GB, free: 76.39 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08114/0.9463, allocations: 73.23 MB / 0.7009 GB, free: 1.938 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0402/0.9865, allocations: 53.56 MB / 0.7532 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00773/0.9943, allocations: 5.353 MB / 0.7584 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1923/1.187, allocations: 15.42 MB / 0.7735 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/1.187, allocations: 89.17 kB / 0.7736 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 7.815e-06/1.187, allocations: 1.031 kB / 0.7736 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.05099/1.238, allocations: 26.96 MB / 0.7999 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.238, allocations: 128.2 kB / 0.8 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006388/1.244, allocations: 5.899 MB / 0.8058 GB, free: 165 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003677/1.245, allocations: 107.8 kB / 0.8059 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002274/1.247, allocations: 6.292 MB / 0.812 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009486/1.248, allocations: 1.743 MB / 0.8137 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/1.25, allocations: 1.521 MB / 0.8152 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.142e-05/1.25, allocations: 305.1 kB / 0.8155 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/1.254, allocations: 3.685 MB / 0.8191 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/1.259, allocations: 6.769 MB / 0.8257 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009884/1.269, allocations: 11.14 MB / 0.8366 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.432e-05/1.269, allocations: 30.5 kB / 0.8366 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01626/1.285, allocations: 12.4 MB / 0.8487 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/1.285, allocations: 48 kB / 0.8488 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.36e-05/1.285, allocations: 100 kB / 0.8489 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/1.289, allocations: 1.595 MB / 0.8504 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/1.295, allocations: 1.751 MB / 0.8521 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/1.313, allocations: 19.63 MB / 0.8713 GB, free: 96.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.318, allocations: 439.4 kB / 0.8717 GB, free: 95.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005012/1.319, allocations: 388.8 kB / 0.8721 GB, free: 95.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006264/1.325, allocations: 5.255 MB / 0.8772 GB, free: 90.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009668/1.326, allocations: 0.6019 MB / 0.8778 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.34, allocations: 9.373 MB / 0.887 GB, free: 80.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-05/1.34, allocations: 23.91 kB / 0.887 GB, free: 80.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.34, allocations: 128 / 0.887 GB, free: 80.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/1.342, allocations: 1.348 MB / 0.8883 GB, free: 78.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007743/1.343, allocations: 99.98 kB / 0.8884 GB, free: 78.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.345, allocations: 279.7 kB / 0.8887 GB, free: 78.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/1.346, allocations: 443.4 kB / 0.8891 GB, free: 78.04 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01397/1.36, allocations: 8.942 MB / 0.8978 GB, free: 69.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01192/1.372, allocations: 10.6 MB / 0.9082 GB, free: 58.43 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003486/1.375, allocations: 3.314 MB / 0.9114 GB, free: 55.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004758/1.38, allocations: 3.969 MB / 0.9153 GB, free: 51.18 MB / 0.5294 GB Notification: Performance of Backend: time 4e-07/1.38, allocations: 0 / 0.9153 GB, free: 51.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.391, allocations: 7.445 MB / 0.9226 GB, free: 43.71 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03235/1.424, allocations: 24.33 MB / 0.9463 GB, free: 19.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.3175/1.741, allocations: 110.5 MB / 1.054 GB, free: 99.04 MB / 0.5294 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)