Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.006227/0.006227, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.254/1.254, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001342/0.001342, allocations: 192.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4735/0.4735, allocations: 91.91 MB / 431.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 84.31 kB / 0.5723 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 71.28 MB / 0.6419 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007792/0.1271, allocations: 7.986 MB / 0.6497 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.1318, allocations: 2.497 MB / 0.6521 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007055/0.1325, allocations: 12 kB / 0.6521 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.1333, allocations: 313.5 kB / 0.6524 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.1354, allocations: 1.052 MB / 0.6534 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1368, allocations: 0.7672 MB / 0.6542 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1387, allocations: 2.123 MB / 0.6563 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.1392, allocations: 376.3 kB / 0.6566 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.1401, allocations: 0.8522 MB / 0.6575 GB, free: 4.059 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1411, allocations: 1.093 MB / 0.6585 GB, free: 2.961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.1413, allocations: 172 kB / 0.6587 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.1419, allocations: 347.8 kB / 0.659 GB, free: 2.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.1423, allocations: 442.3 kB / 0.6594 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.143, allocations: 0.8662 MB / 0.6603 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1451, allocations: 2.173 MB / 0.6624 GB, free: 14.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1451, allocations: 0 / 0.6624 GB, free: 14.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1451, allocations: 4 kB / 0.6624 GB, free: 14.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.1451, allocations: 0 / 0.6624 GB, free: 14.96 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0116/0.1567, allocations: 3.5 MB / 0.6658 GB, free: 11.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.1568, allocations: 12.03 kB / 0.6658 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.157, allocations: 143.6 kB / 0.666 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.1613, allocations: 0.751 MB / 0.6667 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.1633, allocations: 1.096 MB / 0.6678 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/0.1638, allocations: 421 kB / 0.6682 GB, free: 8.863 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.164, allocations: 100 kB / 0.6683 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.1665, allocations: 1.368 MB / 0.6696 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1665, allocations: 0 / 0.6696 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1666, allocations: 36 kB / 0.6697 GB, free: 7.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.1667, allocations: 23.94 kB / 0.6697 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1693, allocations: 1.304 MB / 0.671 GB, free: 6.016 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.008829/0.1781, allocations: 4.641 MB / 0.6755 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.1891, allocations: 2.896 MB / 0.6783 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.1921, allocations: 0.9 MB / 0.6792 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.1923, allocations: 20.98 kB / 0.6792 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003213/0.1956, allocations: 1.046 MB / 0.6802 GB, free: 12.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 4.138e-06/0.1956, allocations: 0 / 0.6802 GB, free: 12.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.05265/0.2482, allocations: 9.913 MB / 0.6899 GB, free: 2.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.2484, allocations: 119.8 kB / 0.69 GB, free: 2.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.2508, allocations: 1.357 MB / 0.6914 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002983/0.2511, allocations: 49.7 kB / 0.6914 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.2516, allocations: 0.5686 MB / 0.692 GB, free: 32 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006389/0.2522, allocations: 453.7 kB / 0.6924 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008899/0.2531, allocations: 323.4 kB / 0.6927 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.2533, allocations: 305.1 kB / 0.693 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.2553, allocations: 0.9565 MB / 0.6939 GB, free: 14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.2575, allocations: 1.155 MB / 0.695 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/0.2616, allocations: 2.046 MB / 0.697 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2616, allocations: 0 / 0.697 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009657/0.2713, allocations: 3.816 MB / 0.7008 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2713, allocations: 7.938 kB / 0.7008 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.2714, allocations: 7.938 kB / 0.7008 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008893/0.2803, allocations: 2.675 MB / 0.7034 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.2817, allocations: 303.6 kB / 0.7037 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.2876, allocations: 2.683 MB / 0.7063 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.2897, allocations: 246.3 kB / 0.7065 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.29, allocations: 59.97 kB / 0.7066 GB, free: 0.8711 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007108/0.2907, allocations: 298.5 kB / 0.7069 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.2911, allocations: 154.1 kB / 0.707 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.3055, allocations: 4.759 MB / 0.7117 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.3055, allocations: 12 kB / 0.7117 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3056, allocations: 4 kB / 0.7117 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.3056, allocations: 7.969 kB / 0.7117 GB, free: 11.61 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.01766/0.3233, allocations: 6.856 MB / 0.7184 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.3233, allocations: 11.97 kB / 0.7184 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.3242, allocations: 131.8 kB / 0.7185 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006918/0.3311, allocations: 2.138 MB / 0.7206 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.3314, allocations: 31.98 kB / 0.7207 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02436/0.3557, allocations: 10.06 MB / 0.7305 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3558, allocations: 0 / 0.7305 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/0.3732, allocations: 5.916 MB / 0.7363 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/0.3739, allocations: 266.8 kB / 0.7365 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.3743, allocations: 24 kB / 0.7365 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.376, allocations: 135.8 kB / 0.7367 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008854/0.3769, allocations: 261.3 kB / 0.7369 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.3771, allocations: 35.98 kB / 0.7369 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001591/0.3787, allocations: 0.9095 MB / 0.7378 GB, free: 500 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3787, allocations: 8 kB / 0.7378 GB, free: 492 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001685/0.3804, allocations: 0.5074 MB / 0.7383 GB, free: 15.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0174/0.3978, allocations: 6.514 MB / 0.7447 GB, free: 9.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008205/0.4061, allocations: 2.813 MB / 0.7474 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4061, allocations: 0 / 0.7474 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005699/0.4118, allocations: 1.911 MB / 0.7493 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.413, allocations: 126 kB / 0.7494 GB, free: 4.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04133/0.4543, allocations: 19.07 MB / 0.7681 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2558/0.7101, allocations: 1.201 MB / 0.7692 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007945/0.711, allocations: 140.8 kB / 0.7694 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/0.7117, allocations: 0.5727 MB / 0.7699 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.7117, allocations: 0 / 0.7699 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06618/0.7779, allocations: 42.11 MB / 0.811 GB, free: 92.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.22, allocations: 12 kB / 0.8111 GB, free: 92.42 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)