Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004953/0.004953, allocations: 101 kB / 15.73 MB, free: 6.004 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.263/1.263, allocations: 222.9 MB / 239.4 MB, free: 4.426 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.00144/0.00144, allocations: 188.5 kB / 289.7 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4867/0.4867, allocations: 91.89 MB / 431.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 79.72 kB / 0.5723 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 71.28 MB / 0.6419 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.007962/0.1262, allocations: 8.634 MB / 0.6503 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.1313, allocations: 2.688 MB / 0.6529 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.1326, allocations: 12 kB / 0.6529 GB, free: 8.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.1334, allocations: 325.2 kB / 0.6533 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.1361, allocations: 1.07 MB / 0.6543 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1379, allocations: 0.8494 MB / 0.6551 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.1405, allocations: 2.244 MB / 0.6573 GB, free: 4.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.1412, allocations: 469.9 kB / 0.6578 GB, free: 3.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.1424, allocations: 0.8909 MB / 0.6586 GB, free: 2.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.1437, allocations: 1.147 MB / 0.6598 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.144, allocations: 192 kB / 0.6599 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008478/0.1449, allocations: 471.7 kB / 0.6604 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.1453, allocations: 482 kB / 0.6609 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.1462, allocations: 0.9439 MB / 0.6618 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.1489, allocations: 2.453 MB / 0.6642 GB, free: 13.08 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1489, allocations: 0 / 0.6642 GB, free: 13.08 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1489, allocations: 0 / 0.6642 GB, free: 13.08 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.149, allocations: 0 / 0.6642 GB, free: 13.08 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.0122/0.1612, allocations: 3.629 MB / 0.6677 GB, free: 9.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1612, allocations: 12.03 kB / 0.6677 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.1614, allocations: 160.4 kB / 0.6679 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/0.1659, allocations: 0.7626 MB / 0.6686 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.1678, allocations: 1.129 MB / 0.6697 GB, free: 7.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.1683, allocations: 470.3 kB / 0.6702 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.1685, allocations: 112 kB / 0.6703 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.1712, allocations: 1.476 MB / 0.6717 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1712, allocations: 0 / 0.6717 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.1714, allocations: 40 kB / 0.6718 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.1714, allocations: 28 kB / 0.6718 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.1741, allocations: 1.358 MB / 0.6731 GB, free: 3.676 MB / 478.1 MB 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.00864/0.1828, allocations: 5.217 MB / 0.6782 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007308/0.1901, allocations: 2.947 MB / 0.6811 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.192, allocations: 0.9239 MB / 0.682 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/0.1926, allocations: 0.7336 MB / 0.6827 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/0.1946, allocations: 1.079 MB / 0.6838 GB, free: 8.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=131): time 4.168e-06/0.1946, allocations: 0 / 0.6838 GB, free: 8.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.03654/0.2312, allocations: 9.859 MB / 0.6934 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.2313, allocations: 120.1 kB / 0.6935 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.2334, allocations: 1.43 MB / 0.6949 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003169/0.2337, allocations: 57.7 kB / 0.695 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.2342, allocations: 0.6238 MB / 0.6956 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005281/0.2347, allocations: 489.2 kB / 0.696 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006578/0.2354, allocations: 363.4 kB / 0.6964 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.2355, allocations: 305.1 kB / 0.6967 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.2375, allocations: 1.003 MB / 0.6976 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.2397, allocations: 1.231 MB / 0.6988 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.2437, allocations: 2.153 MB / 0.701 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.2438, allocations: 0 / 0.701 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01576/0.2595, allocations: 5.508 MB / 0.7063 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.2596, allocations: 13.39 kB / 0.7063 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.2596, allocations: 4 kB / 0.7063 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008604/0.2682, allocations: 2.667 MB / 0.709 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.2699, allocations: 347.5 kB / 0.7093 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.2757, allocations: 2.683 MB / 0.7119 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.278, allocations: 258.2 kB / 0.7121 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.2783, allocations: 71.92 kB / 0.7122 GB, free: 10.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0007856/0.2791, allocations: 305.5 kB / 0.7125 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.2796, allocations: 169.8 kB / 0.7127 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.2948, allocations: 4.942 MB / 0.7175 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.2949, allocations: 16 kB / 0.7175 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.2949, allocations: 0 / 0.7175 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/0.295, allocations: 7.969 kB / 0.7175 GB, free: 5.289 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.0192/0.3142, allocations: 7.084 MB / 0.7244 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.3142, allocations: 4 kB / 0.7244 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.3152, allocations: 155.8 kB / 0.7246 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007167/0.3224, allocations: 2.193 MB / 0.7267 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.3227, allocations: 27.98 kB / 0.7268 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02659/0.3493, allocations: 11.79 MB / 0.7383 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3493, allocations: 4.031 kB / 0.7383 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/0.3669, allocations: 6.099 MB / 0.7442 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.3676, allocations: 278.6 kB / 0.7445 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/0.368, allocations: 27.94 kB / 0.7445 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.3697, allocations: 131.8 kB / 0.7446 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008834/0.3706, allocations: 261.4 kB / 0.7449 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.3708, allocations: 39.98 kB / 0.7449 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001472/0.3723, allocations: 0.9522 MB / 0.7459 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3723, allocations: 0 / 0.7459 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001836/0.3742, allocations: 0.562 MB / 0.7464 GB, free: 7.207 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01785/0.392, allocations: 6.708 MB / 0.753 GB, free: 464 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008609/0.4007, allocations: 2.955 MB / 0.7559 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4007, allocations: 0 / 0.7559 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00615/0.4069, allocations: 2.062 MB / 0.7579 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.4086, allocations: 163.6 kB / 0.758 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2914/0.7, allocations: 19.29 MB / 0.7769 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.7011, allocations: 1.251 MB / 0.7781 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000693/0.7018, allocations: 146.5 kB / 0.7782 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/0.7027, allocations: 0.639 MB / 0.7788 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.31e-07/0.7027, allocations: 0 / 0.7788 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.7694, allocations: 45.64 MB / 0.8234 GB, free: 80.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.45, allocations: 5.719 kB / 0.8234 GB, free: 80.21 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)