Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 110.9 kB / 17.75 MB, free: 5.312 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.001111/0.001111, allocations: 190.6 kB / 18.68 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009397/0.0009398, allocations: 55.91 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2163, allocations: 49.42 MB / 401.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter): time 0.01742/0.2337, allocations: 16.52 MB / 417.9 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.248, allocations: 8.72 MB / 426.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.2505, allocations: 111.5 kB / 426.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.2542, allocations: 1.804 MB / 428.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.2589, allocations: 2.098 MB / 430.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006046/0.2649, allocations: 2.854 MB / 433.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006251/0.2712, allocations: 6.229 MB / 439.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005834/0.277, allocations: 4.872 MB / 444.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.2813, allocations: 3.642 MB / 448.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.2854, allocations: 3.014 MB / 451.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.2868, allocations: 0.7148 MB / 452 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.2893, allocations: 1.117 MB / 453.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.2912, allocations: 1.849 MB / 455 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003476/0.2947, allocations: 3.243 MB / 458.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008631/0.3034, allocations: 10.06 MB / 468.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3034, allocations: 0 / 468.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3034, allocations: 7.938 kB / 468.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000118/0.3035, allocations: 0 / 468.3 MB, free: 5.867 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: 1192 * Number of variables: 1192 Notification: Performance of Generate backend data structure: time 0.01466/0.3182, allocations: 7.081 MB / 475.3 MB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3182, allocations: 8.031 kB / 475.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/0.323, allocations: 1.079 MB / 476.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/0.3293, allocations: 3.931 MB / 480.4 MB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.3297, allocations: 464.2 kB / 480.8 MB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006703/0.3304, allocations: 471.8 kB / 481.3 MB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.3406, allocations: 6.248 MB / 487.5 MB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-05/0.3407, allocations: 11.92 kB / 487.5 MB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004505/0.3412, allocations: 184 kB / 487.7 MB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3414, allocations: 197 kB / 487.9 MB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008642/0.35, allocations: 5.29 MB / 493.2 MB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02749/0.3775, allocations: 19.43 MB / 0.5006 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007702/0.3852, allocations: 6.18 MB / 0.5066 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.3886, allocations: 2.137 MB / 0.5087 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009057/0.3977, allocations: 5.637 MB / 0.5142 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/0.4003, allocations: 1.76 MB / 0.516 GB, free: 8.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 3.938e-06/0.4003, allocations: 0 / 0.516 GB, free: 8.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.01948/0.4198, allocations: 10.32 MB / 0.526 GB, free: 13.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/0.42, allocations: 431.6 kB / 0.5264 GB, free: 13.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/0.425, allocations: 3.72 MB / 0.5301 GB, free: 9.574 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.4252, allocations: 89.69 kB / 0.5302 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.4269, allocations: 2.184 MB / 0.5323 GB, free: 7.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/0.4277, allocations: 0.8436 MB / 0.5331 GB, free: 6.418 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008786/0.4286, allocations: 0.6347 MB / 0.5337 GB, free: 5.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.4287, allocations: 301.1 kB / 0.534 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.4308, allocations: 1.355 MB / 0.5354 GB, free: 4.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/0.4337, allocations: 2.219 MB / 0.5375 GB, free: 1.535 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1835/0.6172, allocations: 3.481 MB / 0.5409 GB, free: 125.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.6173, allocations: 11.69 kB / 0.5409 GB, free: 125.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=398) (initialization): time 0.00596/0.6232, allocations: 4.309 MB / 0.5451 GB, free: 124.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6233, allocations: 18.84 kB / 0.5452 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.6233, allocations: 23.38 kB / 0.5452 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.6244, allocations: 0.5746 MB / 0.5457 GB, free: 124 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.6267, allocations: 0.6284 MB / 0.5464 GB, free: 123.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/0.634, allocations: 11.06 MB / 0.5572 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.6362, allocations: 209.2 kB / 0.5574 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.6364, allocations: 122.9 kB / 0.5575 GB, free: 114.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003692/0.6401, allocations: 2.879 MB / 0.5603 GB, free: 113.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002076/0.6422, allocations: 2.201 MB / 0.5624 GB, free: 112.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003706/0.6459, allocations: 3.457 MB / 0.5658 GB, free: 109.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.678e-06/0.6459, allocations: 4 kB / 0.5658 GB, free: 109.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.005484/0.6514, allocations: 4.292 MB / 0.57 GB, free: 105.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6514, allocations: 19.94 kB / 0.57 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.6515, allocations: 24 kB / 0.57 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009925/0.6525, allocations: 0.571 MB / 0.5706 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.6547, allocations: 0.624 MB / 0.5712 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.6617, allocations: 11.07 MB / 0.582 GB, free: 92.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.664, allocations: 221.9 kB / 0.5822 GB, free: 92.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.6642, allocations: 124 kB / 0.5824 GB, free: 92.27 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.0005632/0.6647, allocations: 429.2 kB / 0.5828 GB, free: 91.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.6652, allocations: 398.2 kB / 0.5831 GB, free: 91.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/0.6712, allocations: 4.166 MB / 0.5872 GB, free: 87.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6712, allocations: 15.94 kB / 0.5872 GB, free: 87.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6712, allocations: 0 / 0.5872 GB, free: 87.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.6726, allocations: 0.8755 MB / 0.5881 GB, free: 86.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004371/0.6731, allocations: 75.97 kB / 0.5882 GB, free: 86.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.6745, allocations: 147.9 kB / 0.5883 GB, free: 86.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004135/0.6749, allocations: 269.7 kB / 0.5886 GB, free: 86.09 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006995/0.6819, allocations: 4.086 MB / 0.5925 GB, free: 81.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005704/0.6876, allocations: 4.908 MB / 0.5973 GB, free: 77 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001632/0.6893, allocations: 1.461 MB / 0.5988 GB, free: 75.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002745/0.692, allocations: 2.542 MB / 0.6012 GB, free: 72.97 MB / 462.1 MB Notification: Performance of Backend: time 2.2e-07/0.692, allocations: 0 / 0.6012 GB, free: 72.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009406/0.7015, allocations: 6.621 MB / 0.6077 GB, free: 66.56 MB / 462.1 MB Notification: Performance of SimCode: time 0.01334/0.7148, allocations: 10.63 MB / 0.6181 GB, free: 55.92 MB / 462.1 MB Notification: Performance of Templates: time 0.08921/0.8041, allocations: 70.03 MB / 0.6865 GB, free: 2.352 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter.pipe 2>&1)