Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Data.PowerPlant.Examples.IEEE421,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421") translateModel(OpenIPSL.Data.PowerPlant.Examples.IEEE421,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111 kB / 16.41 MB, free: 6.465 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.324/1.324, allocations: 222.9 MB / 240.1 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 188.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4976/0.4976, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 81.45 kB / 0.5734 GB, free: 33.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1025, allocations: 71.28 MB / 0.643 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Data.PowerPlant.Examples.IEEE421): time 0.01156/0.1141, allocations: 12.16 MB / 0.6549 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1277, allocations: 11.56 MB / 0.6662 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.1298, allocations: 31.94 kB / 0.6662 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.1333, allocations: 1.331 MB / 0.6675 GB, free: 10.53 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.1381, allocations: 1.765 MB / 0.6692 GB, free: 8.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.1414, allocations: 1.69 MB / 0.6709 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006488/0.1479, allocations: 5.576 MB / 0.6763 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.1495, allocations: 0.8883 MB / 0.6772 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.1523, allocations: 2.001 MB / 0.6792 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.1553, allocations: 2.186 MB / 0.6813 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.1565, allocations: 472 kB / 0.6817 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.1581, allocations: 0.6364 MB / 0.6824 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.1594, allocations: 1.047 MB / 0.6834 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.1619, allocations: 1.842 MB / 0.6852 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006567/0.1685, allocations: 5.531 MB / 0.6906 GB, free: 2.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1686, allocations: 4 kB / 0.6906 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1686, allocations: 0 / 0.6906 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000156/0.1687, allocations: 0 / 0.6906 GB, free: 2.805 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.02183/0.1906, allocations: 6.256 MB / 0.6967 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1906, allocations: 16.03 kB / 0.6967 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/0.1961, allocations: 0.9423 MB / 0.6976 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/0.2035, allocations: 2.967 MB / 0.7005 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008126/0.2043, allocations: 0.7705 MB / 0.7013 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006696/0.205, allocations: 184 kB / 0.7015 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.2109, allocations: 2.528 MB / 0.7039 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.211, allocations: 0 / 0.7039 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.2113, allocations: 72 kB / 0.704 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.2113, allocations: 36 kB / 0.704 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006234/0.2176, allocations: 2.725 MB / 0.7067 GB, free: 1.984 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.2366, allocations: 9.777 MB / 0.7162 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.2493, allocations: 4.927 MB / 0.7211 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/0.2525, allocations: 1.525 MB / 0.7225 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.2527, allocations: 41.89 kB / 0.7226 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003682/0.2564, allocations: 1.816 MB / 0.7244 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=196): time 4.619e-06/0.2564, allocations: 0 / 0.7244 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=196): time 0.04364/0.3001, allocations: 11.39 MB / 0.7355 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3002, allocations: 287 kB / 0.7358 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00759/0.3078, allocations: 3.673 MB / 0.7393 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005037/0.3083, allocations: 65.7 kB / 0.7394 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.3095, allocations: 1.215 MB / 0.7406 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009583/0.3104, allocations: 0.732 MB / 0.7413 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.3118, allocations: 497.5 kB / 0.7418 GB, free: 13.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.3118, allocations: 309.1 kB / 0.7421 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/0.3154, allocations: 1.652 MB / 0.7437 GB, free: 11.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003813/0.3193, allocations: 1.953 MB / 0.7456 GB, free: 9.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03464/0.3539, allocations: 9.651 MB / 0.755 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.354, allocations: 4 kB / 0.755 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01159/0.3656, allocations: 4.946 MB / 0.7599 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3656, allocations: 7.938 kB / 0.7599 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3656, allocations: 7.938 kB / 0.7599 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009956/0.3756, allocations: 2.883 MB / 0.7627 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/0.3801, allocations: 0.7451 MB / 0.7634 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008544/0.3887, allocations: 4.466 MB / 0.7678 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/0.3932, allocations: 0.5799 MB / 0.7683 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004462/0.3937, allocations: 91.97 kB / 0.7684 GB, free: 1.785 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: generator1.eSST1A.imDerivativeLag.x:VARIABLE(start = generator1.eSST1A.imDerivativeLag.x_start fixed = true ) "State of block" type: Real generator1.pSS2B.rampTrackingFilter.TF2[4].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF2[3].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF2[2].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2,1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2573/0.651, allocations: 2.164 MB / 0.7705 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004375/0.6554, allocations: 1.869 MB / 0.7724 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03501/0.6904, allocations: 9.449 MB / 0.7816 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.616e-05/0.6905, allocations: 5.312 kB / 0.7816 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009818/0.7003, allocations: 4.694 MB / 0.7862 GB, free: 110 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7004, allocations: 7.719 kB / 0.7862 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.7004, allocations: 7.875 kB / 0.7862 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008655/0.709, allocations: 2.728 MB / 0.7889 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.7131, allocations: 0.6586 MB / 0.7895 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.7189, allocations: 2.7 MB / 0.7921 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/0.723, allocations: 0.5273 MB / 0.7927 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/0.7234, allocations: 87.03 kB / 0.7927 GB, free: 108.2 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: generator1.eSST1A.imDerivativeLag.x:VARIABLE(start = generator1.eSST1A.imDerivativeLag.x_start fixed = true ) "State of block" type: Real generator1.pSS2B.rampTrackingFilter.TF2[4].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF2[3].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF2[2].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF2[1].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [4,1] generator1.pSS2B.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(33,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006288/0.724, allocations: 318.1 kB / 0.793 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/0.7247, allocations: 335.7 kB / 0.7934 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.7421, allocations: 6.297 MB / 0.7995 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-05/0.7422, allocations: 11.22 kB / 0.7995 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7422, allocations: 0 / 0.7995 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.7433, allocations: 0.5378 MB / 0.8 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/0.744, allocations: 55.92 kB / 0.8001 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/0.7472, allocations: 421.5 kB / 0.8005 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/0.7486, allocations: 0.5948 MB / 0.8011 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0108/0.7594, allocations: 4.645 MB / 0.8056 GB, free: 97.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008967/0.7684, allocations: 5.578 MB / 0.8111 GB, free: 91.88 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002587/0.771, allocations: 1.53 MB / 0.8126 GB, free: 90.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004854/0.7759, allocations: 2.631 MB / 0.8151 GB, free: 87.73 MB / 0.5606 GB Notification: Performance of Backend: time 8.21e-07/0.7759, allocations: 0 / 0.8151 GB, free: 87.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0173/0.7932, allocations: 6.087 MB / 0.8211 GB, free: 81.65 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00765/0.8009, allocations: 6.498 MB / 0.8274 GB, free: 75.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.07801/0.8789, allocations: 66.49 MB / 0.8923 GB, free: 8.789 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.makefile (rm -f OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.sim & ./OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Data.PowerPlant.Examples.IEEE421.pipe 2>&1)