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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009646/0.0009647, allocations: 104.7 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000877/0.000877, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1931, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.SoftStarter): time 0.01308/0.2062, allocations: 16.96 MB / 424 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.219, allocations: 9.444 MB / 433.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.2225, allocations: 111.4 kB / 433.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004023/0.2266, allocations: 1.622 MB / 435.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.2318, allocations: 1.906 MB / 437.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006158/0.238, allocations: 2.408 MB / 439.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007942/0.2459, allocations: 6.642 MB / 446.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006579/0.2526, allocations: 4.164 MB / 450.3 MB, free: 372 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.2568, allocations: 2.845 MB / 453.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.261, allocations: 2.807 MB / 456 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.2624, allocations: 412 kB / 456.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.265, allocations: 0.8314 MB / 457.2 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.2665, allocations: 1.536 MB / 458.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00311/0.2696, allocations: 2.922 MB / 461.7 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.278, allocations: 9.732 MB / 471.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.278, allocations: 4 kB / 471.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2781, allocations: 0 / 471.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002335/0.2783, allocations: 0 / 471.4 MB, free: 11.2 MB / 346.7 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.01756/0.2959, allocations: 7.139 MB / 478.5 MB, free: 3.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2959, allocations: 8.031 kB / 478.5 MB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.3014, allocations: 1.129 MB / 479.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007534/0.3089, allocations: 3.826 MB / 483.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.3093, allocations: 472 kB / 484 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009041/0.3102, allocations: 459.9 kB / 484.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009714/0.32, allocations: 6.248 MB / 490.7 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-05/0.3201, allocations: 11.91 kB / 490.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.3205, allocations: 195.9 kB / 490.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.3206, allocations: 193 kB / 491 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008445/0.3291, allocations: 5.301 MB / 496.3 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1972/0.5263, allocations: 19.74 MB / 0.504 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.5332, allocations: 6.169 MB / 0.51 GB, free: 78.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/0.5363, allocations: 2.145 MB / 0.5121 GB, free: 77.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.5468, allocations: 5.916 MB / 0.5179 GB, free: 74.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.5493, allocations: 1.764 MB / 0.5196 GB, free: 74.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=262): time 5.65e-06/0.5494, allocations: 3.938 kB / 0.5196 GB, free: 74.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=265): time 0.01769/0.5671, allocations: 10.35 MB / 0.5297 GB, free: 68.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5672, allocations: 435.4 kB / 0.5301 GB, free: 67.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.5713, allocations: 3.767 MB / 0.5338 GB, free: 64.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.5716, allocations: 101.7 kB / 0.5339 GB, free: 64.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.5728, allocations: 2.207 MB / 0.5361 GB, free: 61.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.5733, allocations: 0.8448 MB / 0.5369 GB, free: 61.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007299/0.5741, allocations: 0.6271 MB / 0.5375 GB, free: 60.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.424e-05/0.5741, allocations: 305.1 kB / 0.5378 GB, free: 60.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.5759, allocations: 1.356 MB / 0.5391 GB, free: 58.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.578, allocations: 2.227 MB / 0.5413 GB, free: 56.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/0.5818, allocations: 3.496 MB / 0.5447 GB, free: 52.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.439e-05/0.5818, allocations: 4 kB / 0.5447 GB, free: 52.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=398) (initialization): time 0.005678/0.5875, allocations: 4.322 MB / 0.5489 GB, free: 48.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.5876, allocations: 16 kB / 0.549 GB, free: 48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.5876, allocations: 31.88 kB / 0.549 GB, free: 47.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5887, allocations: 0.5676 MB / 0.5495 GB, free: 47.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.5909, allocations: 0.6279 MB / 0.5502 GB, free: 46.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/0.5976, allocations: 10.15 MB / 0.5601 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.6, allocations: 203.7 kB / 0.5603 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.6002, allocations: 124 kB / 0.5604 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003763/0.604, allocations: 2.9 MB / 0.5632 GB, free: 32.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002018/0.606, allocations: 2.208 MB / 0.5654 GB, free: 30.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003557/0.6096, allocations: 3.463 MB / 0.5688 GB, free: 26.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.418e-06/0.6096, allocations: 8 kB / 0.5688 GB, free: 26.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=398) (initialization_lambda0): time 0.005331/0.6149, allocations: 4.295 MB / 0.573 GB, free: 21.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.615, allocations: 12 kB / 0.573 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.615, allocations: 24 kB / 0.573 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009753/0.616, allocations: 0.5673 MB / 0.5735 GB, free: 21.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.6181, allocations: 0.6274 MB / 0.5742 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/0.6248, allocations: 10.15 MB / 0.5841 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.6275, allocations: 215.9 kB / 0.5843 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.6277, allocations: 128 kB / 0.5844 GB, free: 9.574 MB / 378.7 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.0005759/0.6283, allocations: 427.2 kB / 0.5848 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.6287, allocations: 403 kB / 0.5852 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/0.6347, allocations: 4.178 MB / 0.5893 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.6347, allocations: 24 kB / 0.5893 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.6347, allocations: 8 kB / 0.5893 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.6347, allocations: 15.94 kB / 0.5893 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.6472, allocations: 8.818 MB / 0.5979 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6473, allocations: 12.19 kB / 0.5979 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.6488, allocations: 323.5 kB / 0.5982 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.6507, allocations: 0.8628 MB / 0.5991 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.6509, allocations: 67.97 kB / 0.5992 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.6667, allocations: 17.11 MB / 0.6159 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6667, allocations: 4 kB / 0.6159 GB, free: 8 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "when $whenCondition7 then softStartControl.modeOfOperation := Modelica.Electrical.PowerConverters.Types.SoftStarterModeOfOperation.Up; elsewhen $whenCondition6 then softStartControl.modeOfOperation := Modelica.Electrical.PowerConverters.Types.SoftStarterModeOfOperation.On; elsewhen $whenCondition5 then softStartControl.modeOfOperation := Modelica.Electrical.PowerConverters.Types.SoftStarterModeOfOperation.Down; elsewhen $whenCondition4 then softStartControl.modeOfOperation := Modelica.Electrical.PowerConverters.Types.SoftStarterModeOfOperation.Off; end when;" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/0.6849, allocations: 10.94 MB / 0.6265 GB, free: 12.78 MB / 426.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.