Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.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.Electrical.PowerConverters.Examples.ACAC.SoftStarter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|currentQuasiRMSSensor.i.1.|currentQuasiRMSSensor.i.2.|currentQuasiRMSSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.|multiSensor.i.1.|multiSensor.i.2.|multiSensor.i.3.|multiSensor.v.1.|multiSensor.v.2.|multiSensor.v.3.|multiSensor.power.1.|multiSensor.power.2.|multiSensor.power.3.|multiSensor.powerTotal|rootMeanSquare.y|rootMeanSquare.mean.x|harmonic.mean1.x|harmonic.mean2.x|// imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|// imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|// imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|loadInertia.phi|loadInertia.w|softStartControl.vRef",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter") translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|currentQuasiRMSSensor.i.1.|currentQuasiRMSSensor.i.2.|currentQuasiRMSSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.|multiSensor.i.1.|multiSensor.i.2.|multiSensor.i.3.|multiSensor.v.1.|multiSensor.v.2.|multiSensor.v.3.|multiSensor.power.1.|multiSensor.power.2.|multiSensor.power.3.|multiSensor.powerTotal|rootMeanSquare.y|rootMeanSquare.mean.x|harmonic.mean1.x|harmonic.mean2.x|// imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|// imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|// imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|loadInertia.phi|loadInertia.w|softStartControl.vRef",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2303, allocations: 50.55 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter): time 0.01775/0.2481, allocations: 17.19 MB / 427.1 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.263, allocations: 9.16 MB / 436.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.2655, allocations: 111.6 kB / 436.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003363/0.2689, allocations: 1.797 MB / 438.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.2733, allocations: 2.072 MB / 440.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005981/0.2792, allocations: 2.868 MB / 443.2 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007323/0.2866, allocations: 6.326 MB / 449.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005393/0.292, allocations: 4.869 MB / 454.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004708/0.2967, allocations: 3.657 MB / 458 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.3009, allocations: 3.147 MB / 461.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.3021, allocations: 0.7148 MB / 461.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.3043, allocations: 1.144 MB / 463 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.3059, allocations: 1.849 MB / 464.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003731/0.3096, allocations: 3.27 MB / 468.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3203, allocations: 10.14 MB / 478.3 MB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3203, allocations: 0 / 478.3 MB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3203, allocations: 0 / 478.3 MB, free: 13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000243/0.3206, allocations: 0 / 478.3 MB, free: 13 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: 1192 * Number of variables: 1192 Notification: Performance of Generate backend data structure: time 0.01619/0.3368, allocations: 7.163 MB / 485.4 MB, free: 5.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3368, allocations: 8.031 kB / 485.4 MB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005235/0.3421, allocations: 1.133 MB / 486.6 MB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.3494, allocations: 3.982 MB / 490.6 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.3498, allocations: 472.2 kB / 491 MB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008349/0.3507, allocations: 467.9 kB / 491.5 MB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.3612, allocations: 6.252 MB / 497.7 MB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.692e-05/0.3613, allocations: 7.844 kB / 497.7 MB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004478/0.3618, allocations: 200 kB / 497.9 MB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.362, allocations: 189 kB / 498.1 MB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009263/0.3712, allocations: 5.297 MB / 0.4916 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/0.4031, allocations: 19.52 MB / 0.5107 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.4142, allocations: 6.184 MB / 0.5167 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/0.4194, allocations: 2.152 MB / 0.5188 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/0.4333, allocations: 5.914 MB / 0.5246 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003924/0.4373, allocations: 1.768 MB / 0.5263 GB, free: 14.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 7.123e-06/0.4373, allocations: 0 / 0.5263 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.02454/0.4619, allocations: 10.35 MB / 0.5364 GB, free: 4.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.4621, allocations: 431.6 kB / 0.5368 GB, free: 3.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1961/0.6582, allocations: 3.78 MB / 0.5405 GB, free: 121.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004842/0.6587, allocations: 95.06 kB / 0.5406 GB, free: 121.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002058/0.6608, allocations: 2.212 MB / 0.5428 GB, free: 121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00073/0.6615, allocations: 0.8526 MB / 0.5436 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009826/0.6625, allocations: 0.6281 MB / 0.5442 GB, free: 120.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.6626, allocations: 301.1 kB / 0.5445 GB, free: 119.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.6647, allocations: 1.354 MB / 0.5458 GB, free: 119.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.6669, allocations: 2.227 MB / 0.548 GB, free: 117.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.6706, allocations: 3.492 MB / 0.5514 GB, free: 115.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.6706, allocations: 7.875 kB / 0.5514 GB, free: 115.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=398) (initialization): time 0.005873/0.6765, allocations: 4.331 MB / 0.5557 GB, free: 113.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6766, allocations: 12.69 kB / 0.5557 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.6766, allocations: 22.75 kB / 0.5557 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.6777, allocations: 0.5713 MB / 0.5562 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.6799, allocations: 0.6255 MB / 0.5569 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007052/0.687, allocations: 11.07 MB / 0.5677 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.6892, allocations: 210.8 kB / 0.5679 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.6894, allocations: 122.9 kB / 0.568 GB, free: 104.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003704/0.6931, allocations: 2.891 MB / 0.5708 GB, free: 103.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001974/0.6951, allocations: 2.211 MB / 0.573 GB, free: 100.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003512/0.6987, allocations: 3.463 MB / 0.5764 GB, free: 96.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.388e-06/0.6987, allocations: 7.938 kB / 0.5764 GB, free: 96.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.005224/0.7039, allocations: 4.296 MB / 0.5806 GB, free: 92.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.7039, allocations: 12.03 kB / 0.5806 GB, free: 92.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.704, allocations: 28 kB / 0.5806 GB, free: 92.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009692/0.7049, allocations: 0.5775 MB / 0.5812 GB, free: 91.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.7071, allocations: 0.6201 MB / 0.5818 GB, free: 91.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.7138, allocations: 11.07 MB / 0.5926 GB, free: 79.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.716, allocations: 223.9 kB / 0.5928 GB, free: 79.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.7162, allocations: 124 kB / 0.5929 GB, free: 79.08 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition10,$whenCondition9,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,softStartControl.limit,$PRE.softStartControl.limit,softStartControl.modeOfOperation,$PRE.softStartControl.modeOfOperation,softStartControl.start,adaptor.timerNegative[3].entryTime,$PRE.adaptor.timerNegative[3].entryTime,adaptor.timerNegative[2].entryTime,$PRE.adaptor.timerNegative[2].entryTime,adaptor.timerNegative[1].entryTime,$PRE.adaptor.timerNegative[1].entryTime,adaptor.timerPositive[3].entryTime,$PRE.adaptor.timerPositive[3].entryTime,adaptor.timerPositive[2].entryTime,$PRE.adaptor.timerPositive[2].entryTime,adaptor.timerPositive[1].entryTime,$PRE.adaptor.timerPositive[1].entryTime,adaptor.negativeThreshold[3].y,adaptor.negativeThreshold[2].y,adaptor.negativeThreshold[1].y,adaptor.positiveThreshold[3].y,adaptor.positiveThreshold[2].y,adaptor.positiveThreshold[1].y,triac.triac[3].thyristor2.off,$PRE.triac.triac[3].thyristor2.off,triac.triac[3].thyristor1.off,$PRE.triac.triac[3].thyristor1.off,triac.triac[2].thyristor2.off,$PRE.triac.triac[2].thyristor2.off,triac.triac[2].thyristor1.off,$PRE.triac.triac[2].thyristor1.off,triac.triac[1].thyristor2.off,$PRE.triac.triac[1].thyristor2.off,triac.triac[1].thyristor1.off,$PRE.triac.triac[1].thyristor1.off,triac.fire2[3],triac.fire2[2],triac.fire2[1],triac.fire1[3],triac.fire1[2],triac.fire1[1],$whenCondition3,$whenCondition2,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 354 * Array equations: 1 * 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): 2 systems {(1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005795/0.7168, allocations: 427.4 kB / 0.5933 GB, free: 78.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.7172, allocations: 407 kB / 0.5937 GB, free: 78.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/0.7231, allocations: 4.183 MB / 0.5978 GB, free: 73.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.7231, allocations: 15.94 kB / 0.5978 GB, free: 73.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7231, allocations: 0 / 0.5978 GB, free: 73.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.7245, allocations: 0.8825 MB / 0.5987 GB, free: 73.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/0.7249, allocations: 75.97 kB / 0.5987 GB, free: 72.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.7263, allocations: 143.9 kB / 0.5989 GB, free: 72.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/0.7267, allocations: 269.7 kB / 0.5991 GB, free: 72.54 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006764/0.7335, allocations: 4.088 MB / 0.6031 GB, free: 68.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005687/0.7392, allocations: 4.92 MB / 0.6079 GB, free: 63.43 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001633/0.7408, allocations: 1.472 MB / 0.6094 GB, free: 61.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002878/0.7437, allocations: 2.591 MB / 0.6119 GB, free: 59.34 MB / 462.1 MB Notification: Performance of Backend: time 3.91e-07/0.7437, allocations: 0 / 0.6119 GB, free: 59.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009205/0.7529, allocations: 6.616 MB / 0.6184 GB, free: 52.91 MB / 462.1 MB Notification: Performance of SimCode: time 0.01193/0.7649, allocations: 10.72 MB / 0.6288 GB, free: 42.16 MB / 462.1 MB Notification: Performance of Templates: time 0.09465/0.8596, allocations: 70.68 MB / 0.6979 GB, free: 3.91 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe 2>&1)