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.001076/0.001076, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 55.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2233, allocations: 50.55 MB / 410 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter): time 0.0181/0.2414, allocations: 17.19 MB / 427.2 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.257, allocations: 9.157 MB / 436.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.2596, allocations: 115.5 kB / 436.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004081/0.2637, allocations: 1.836 MB / 438.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004985/0.2687, allocations: 2.118 MB / 440.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.2753, allocations: 2.878 MB / 443.3 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006994/0.2823, allocations: 6.321 MB / 449.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005657/0.288, allocations: 4.881 MB / 454.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.2926, allocations: 3.657 MB / 458.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/0.2972, allocations: 3.151 MB / 461.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.2989, allocations: 0.7109 MB / 462 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.3018, allocations: 1.148 MB / 463.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002386/0.3042, allocations: 1.849 MB / 465 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004909/0.3091, allocations: 3.277 MB / 468.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.3198, allocations: 10.13 MB / 478.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3198, allocations: 0 / 478.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3198, allocations: 0 / 478.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000136/0.32, allocations: 0 / 478.4 MB, free: 12.9 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.01416/0.3341, allocations: 7.163 MB / 485.5 MB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3342, allocations: 8.031 kB / 485.5 MB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.3392, allocations: 1.137 MB / 486.7 MB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006738/0.346, allocations: 3.986 MB / 490.7 MB, free: 432 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.3464, allocations: 472.2 kB / 491.1 MB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007138/0.3471, allocations: 459.9 kB / 491.6 MB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.3574, allocations: 6.248 MB / 497.8 MB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.247e-05/0.3575, allocations: 7.906 kB / 497.8 MB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.3579, allocations: 196 kB / 498 MB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.3581, allocations: 193 kB / 498.2 MB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008558/0.3667, allocations: 5.301 MB / 0.4917 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02834/0.395, allocations: 19.52 MB / 0.5108 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.4027, allocations: 6.184 MB / 0.5168 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/0.4062, allocations: 2.148 MB / 0.5189 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.4163, allocations: 5.914 MB / 0.5247 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00282/0.4191, allocations: 1.768 MB / 0.5264 GB, free: 14.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 4.248e-06/0.4191, allocations: 4 kB / 0.5264 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.01958/0.4387, allocations: 10.35 MB / 0.5365 GB, free: 4.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002259/0.439, allocations: 427.6 kB / 0.5369 GB, free: 3.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1842/0.6232, allocations: 3.783 MB / 0.5406 GB, free: 120.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004753/0.6237, allocations: 94.19 kB / 0.5407 GB, free: 120.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.626, allocations: 2.213 MB / 0.5429 GB, free: 119.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008828/0.6269, allocations: 0.8522 MB / 0.5437 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.628, allocations: 0.6277 MB / 0.5443 GB, free: 119.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.628, allocations: 301.1 kB / 0.5446 GB, free: 118.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.6301, allocations: 1.354 MB / 0.5459 GB, free: 118.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.6322, allocations: 2.23 MB / 0.5481 GB, free: 116.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.636, allocations: 3.49 MB / 0.5515 GB, free: 114.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.636, allocations: 7.906 kB / 0.5515 GB, free: 114.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=398) (initialization): time 0.005804/0.6419, allocations: 4.326 MB / 0.5558 GB, free: 112.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6419, allocations: 12.78 kB / 0.5558 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.6419, allocations: 23.72 kB / 0.5558 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.643, allocations: 0.5724 MB / 0.5563 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.6453, allocations: 0.6276 MB / 0.557 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.6522, allocations: 11.07 MB / 0.5678 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.6542, allocations: 212.5 kB / 0.568 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.6544, allocations: 123 kB / 0.5681 GB, free: 103.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00358/0.658, allocations: 2.894 MB / 0.5709 GB, free: 101.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002014/0.66, allocations: 2.212 MB / 0.5731 GB, free: 99.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003533/0.6635, allocations: 3.459 MB / 0.5765 GB, free: 95.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.858e-06/0.6636, allocations: 4 kB / 0.5765 GB, free: 95.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.005324/0.6689, allocations: 4.302 MB / 0.5807 GB, free: 91.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6689, allocations: 12 kB / 0.5807 GB, free: 91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.669, allocations: 24 kB / 0.5807 GB, free: 90.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/0.6699, allocations: 0.5763 MB / 0.5813 GB, free: 90.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.6721, allocations: 0.624 MB / 0.5819 GB, free: 89.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006853/0.679, allocations: 11.06 MB / 0.5927 GB, free: 78.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.6813, allocations: 219.9 kB / 0.5929 GB, free: 77.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.6815, allocations: 124 kB / 0.593 GB, free: 77.68 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.0005697/0.6821, allocations: 427.4 kB / 0.5934 GB, free: 77.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.6825, allocations: 407 kB / 0.5938 GB, free: 76.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006015/0.6885, allocations: 4.19 MB / 0.5979 GB, free: 72.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.6885, allocations: 11.95 kB / 0.5979 GB, free: 72.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.6885, allocations: 0 / 0.5979 GB, free: 72.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.69, allocations: 0.8786 MB / 0.5988 GB, free: 71.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/0.6904, allocations: 75.97 kB / 0.5988 GB, free: 71.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.6918, allocations: 151.8 kB / 0.599 GB, free: 71.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.6922, allocations: 265.7 kB / 0.5992 GB, free: 71.14 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006858/0.6991, allocations: 4.091 MB / 0.6032 GB, free: 67.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005554/0.7047, allocations: 4.916 MB / 0.608 GB, free: 62.03 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00159/0.7063, allocations: 1.476 MB / 0.6095 GB, free: 60.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002664/0.709, allocations: 2.591 MB / 0.612 GB, free: 57.93 MB / 462.1 MB Notification: Performance of Backend: time 2.5e-07/0.709, allocations: 0 / 0.612 GB, free: 57.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009296/0.7183, allocations: 6.614 MB / 0.6185 GB, free: 51.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.01259/0.7309, allocations: 10.73 MB / 0.6289 GB, free: 40.75 MB / 462.1 MB Notification: Performance of Templates: time 0.09595/0.8268, allocations: 70.69 MB / 0.698 GB, free: 2.496 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)