Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 115.1 kB / 18.46 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 206.7 kB / 19.41 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 56.14 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2093, allocations: 50.55 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03899/0.2484, allocations: 38.92 MB / 448.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.2663, allocations: 10.32 MB / 459.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/0.2714, allocations: 299 kB / 459.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02115/0.2926, allocations: 10.26 MB / 469.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.3037, allocations: 4.125 MB / 473.9 MB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006009/0.3097, allocations: 2.427 MB / 476.3 MB, free: 14.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01755/0.3273, allocations: 16.52 MB / 492.8 MB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03981/0.3671, allocations: 31.2 MB / 0.5118 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009947/0.3771, allocations: 8.517 MB / 0.5201 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0127/0.3898, allocations: 9.488 MB / 0.5293 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004544/0.3944, allocations: 2.418 MB / 0.5317 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006488/0.4009, allocations: 2.835 MB / 0.5345 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004375/0.4053, allocations: 4.816 MB / 0.5392 GB, free: 2.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3641/0.7694, allocations: 9.204 MB / 0.5482 GB, free: 48.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02562/0.7951, allocations: 32.23 MB / 0.5796 GB, free: 40.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7951, allocations: 0.75 kB / 0.5796 GB, free: 40.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.7951, allocations: 2.625 kB / 0.5796 GB, free: 40.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006468/0.7958, allocations: 1.562 kB / 0.5796 GB, free: 40.38 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.0449/0.8407, allocations: 19.06 MB / 0.5983 GB, free: 28.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8407, allocations: 11.19 kB / 0.5983 GB, free: 28.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.044/0.8847, allocations: 8.412 MB / 0.6065 GB, free: 24.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.9037, allocations: 10.28 MB / 0.6165 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006402/0.9044, allocations: 1.06 MB / 0.6176 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004589/0.909, allocations: 1.396 MB / 0.6189 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04778/0.9568, allocations: 22.75 MB / 0.6411 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005708/0.9574, allocations: 19.91 kB / 0.6412 GB, free: 6.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004265/0.9617, allocations: 0.58 MB / 0.6417 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008191/0.9625, allocations: 0.7754 MB / 0.6425 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04432/1.007, allocations: 21.01 MB / 0.663 GB, free: 15.75 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/1.123, allocations: 72.85 MB / 0.7341 GB, free: 6.488 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2261/1.349, allocations: 42.7 MB / 0.7758 GB, free: 178.4 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00818/1.358, allocations: 5.204 MB / 0.7809 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/1.378, allocations: 12.98 MB / 0.7936 GB, free: 175.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.378, allocations: 93.55 kB / 0.7937 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.993e-06/1.378, allocations: 0.6562 kB / 0.7937 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04877/1.427, allocations: 26.6 MB / 0.8197 GB, free: 164 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.427, allocations: 134.7 kB / 0.8198 GB, free: 163.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007064/1.434, allocations: 5.79 MB / 0.8255 GB, free: 161.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007136/1.435, allocations: 108.3 kB / 0.8256 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.437, allocations: 6.373 MB / 0.8318 GB, free: 156.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.438, allocations: 1.818 MB / 0.8336 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/1.44, allocations: 1.471 MB / 0.835 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.5e-05/1.44, allocations: 301.1 kB / 0.8353 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/1.445, allocations: 3.633 MB / 0.8388 GB, free: 149.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005467/1.45, allocations: 6.475 MB / 0.8452 GB, free: 142.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.461, allocations: 10.76 MB / 0.8557 GB, free: 131.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-05/1.461, allocations: 28 kB / 0.8557 GB, free: 131.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01683/1.478, allocations: 12.11 MB / 0.8675 GB, free: 119.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/1.478, allocations: 48.56 kB / 0.8676 GB, free: 119.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/1.478, allocations: 101.3 kB / 0.8677 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/1.482, allocations: 1.584 MB / 0.8692 GB, free: 117.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00571/1.488, allocations: 1.661 MB / 0.8708 GB, free: 116.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/1.506, allocations: 19.65 MB / 0.89 GB, free: 95.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.512, allocations: 435.1 kB / 0.8904 GB, free: 95.32 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008402/1.513, allocations: 367.2 kB / 0.8908 GB, free: 94.96 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (865): * Single equations (assignments): 858 * 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,52.1%), (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.007023/1.52, allocations: 5.195 MB / 0.8959 GB, free: 89.75 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.521, allocations: 0.6327 MB / 0.8965 GB, free: 89.11 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.535, allocations: 9.364 MB / 0.9056 GB, free: 79.65 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-05/1.535, allocations: 23.91 kB / 0.9056 GB, free: 79.63 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.535, allocations: 3.984 kB / 0.9056 GB, free: 79.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/1.538, allocations: 1.371 MB / 0.907 GB, free: 78.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009291/1.538, allocations: 96 kB / 0.9071 GB, free: 78.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.541, allocations: 275.7 kB / 0.9073 GB, free: 77.87 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007792/1.542, allocations: 439.8 kB / 0.9078 GB, free: 77.44 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01424/1.556, allocations: 8.933 MB / 0.9165 GB, free: 68.57 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01269/1.569, allocations: 10.61 MB / 0.9268 GB, free: 57.82 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00373/1.573, allocations: 3.31 MB / 0.9301 GB, free: 54.51 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005325/1.578, allocations: 3.904 MB / 0.9339 GB, free: 50.63 MB / 0.5763 GB Notification: Performance of Backend: time 4.6e-07/1.578, allocations: 1.312 kB / 0.9339 GB, free: 50.63 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.591, allocations: 7.35 MB / 0.9411 GB, free: 43.25 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03538/1.626, allocations: 24.52 MB / 0.965 GB, free: 18.69 MB / 0.5763 GB Notification: Performance of Templates: time 0.3393/1.965, allocations: 113.2 MB / 1.076 GB, free: 147.5 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)