Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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.004977/0.004977, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.381/1.381, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001504/0.001504, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5282/0.5282, allocations: 91.97 MB / 431.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 81.97 kB / 0.5724 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1174, allocations: 71.3 MB / 0.642 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1): time 0.009785/0.1272, allocations: 8.553 MB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.1325, allocations: 2.688 MB / 0.653 GB, free: 8.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.1334, allocations: 12 kB / 0.653 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007219/0.1341, allocations: 313.2 kB / 0.6533 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.1365, allocations: 1.005 MB / 0.6542 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.1382, allocations: 0.8373 MB / 0.6551 GB, free: 6.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.1408, allocations: 2.201 MB / 0.6572 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.1414, allocations: 473.4 kB / 0.6577 GB, free: 3.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1425, allocations: 0.8754 MB / 0.6585 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.1438, allocations: 1.128 MB / 0.6596 GB, free: 1.809 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.144, allocations: 188 kB / 0.6598 GB, free: 1.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007851/0.1448, allocations: 471.6 kB / 0.6603 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.1452, allocations: 466.2 kB / 0.6607 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.1461, allocations: 0.9323 MB / 0.6616 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.1487, allocations: 2.428 MB / 0.664 GB, free: 13.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1487, allocations: 0 / 0.664 GB, free: 13.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1487, allocations: 4 kB / 0.664 GB, free: 13.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.1487, allocations: 0 / 0.664 GB, free: 13.33 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01205/0.1608, allocations: 3.662 MB / 0.6676 GB, free: 9.598 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1608, allocations: 8.031 kB / 0.6676 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.1611, allocations: 164.3 kB / 0.6677 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.1657, allocations: 0.7637 MB / 0.6685 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.1676, allocations: 1.138 MB / 0.6696 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/0.1681, allocations: 425 kB / 0.67 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.1683, allocations: 119.9 kB / 0.6701 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.1713, allocations: 1.452 MB / 0.6715 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1713, allocations: 0 / 0.6715 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.1715, allocations: 40 kB / 0.6716 GB, free: 5.355 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.1715, allocations: 28 kB / 0.6716 GB, free: 5.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.1745, allocations: 1.347 MB / 0.6729 GB, free: 3.98 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.00928/0.1838, allocations: 5.163 MB / 0.6779 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/0.1926, allocations: 2.906 MB / 0.6808 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.1948, allocations: 0.9152 MB / 0.6817 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.1955, allocations: 0.7332 MB / 0.6824 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/0.1979, allocations: 1.064 MB / 0.6834 GB, free: 8.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=129): time 3.136e-06/0.1979, allocations: 0 / 0.6834 GB, free: 8.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.04644/0.2443, allocations: 10.54 MB / 0.6937 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.2445, allocations: 120.1 kB / 0.6938 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.2468, allocations: 1.406 MB / 0.6952 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003829/0.2472, allocations: 53.7 kB / 0.6953 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.2478, allocations: 0.64 MB / 0.6959 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/0.2484, allocations: 495.8 kB / 0.6964 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006731/0.2491, allocations: 363.4 kB / 0.6967 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2492, allocations: 313.1 kB / 0.697 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.2515, allocations: 0.9917 MB / 0.698 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.2542, allocations: 1.211 MB / 0.6992 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.2589, allocations: 2.13 MB / 0.7012 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.2589, allocations: 0 / 0.7012 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01271/0.2716, allocations: 3.723 MB / 0.7049 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.2717, allocations: 8 kB / 0.7049 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.2717, allocations: 4 kB / 0.7049 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/0.2859, allocations: 2.679 MB / 0.7075 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.2883, allocations: 327.5 kB / 0.7078 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.2984, allocations: 2.699 MB / 0.7104 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.3011, allocations: 258.7 kB / 0.7107 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/0.3015, allocations: 67.98 kB / 0.7108 GB, free: 12.4 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,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 193 * 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.0008304/0.3023, allocations: 306 kB / 0.7111 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/0.3028, allocations: 174.9 kB / 0.7112 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/0.3205, allocations: 4.855 MB / 0.716 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.3206, allocations: 20 kB / 0.716 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3206, allocations: 0 / 0.716 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.744e-05/0.3207, allocations: 7.969 kB / 0.716 GB, free: 7.012 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.02117/0.3418, allocations: 6.883 MB / 0.7227 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.3419, allocations: 4 kB / 0.7227 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/0.3429, allocations: 151.8 kB / 0.7229 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00809/0.351, allocations: 2.142 MB / 0.7249 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/0.3513, allocations: 24 kB / 0.725 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02824/0.3795, allocations: 10.08 MB / 0.7348 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3795, allocations: 4 kB / 0.7348 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/0.3996, allocations: 5.965 MB / 0.7406 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.4003, allocations: 279.7 kB / 0.7409 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/0.4008, allocations: 24 kB / 0.7409 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.4025, allocations: 127.9 kB / 0.7411 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008985/0.4034, allocations: 265.4 kB / 0.7413 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.4036, allocations: 35.98 kB / 0.7413 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001534/0.4051, allocations: 0.936 MB / 0.7423 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4052, allocations: 0 / 0.7423 GB, free: 11.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001664/0.4068, allocations: 0.5542 MB / 0.7428 GB, free: 11.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.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 (86): * Single equations (assignments): 85 * 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.01994/0.4268, allocations: 6.583 MB / 0.7492 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009553/0.4364, allocations: 2.924 MB / 0.7521 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4364, allocations: 0 / 0.7521 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006439/0.4428, allocations: 1.938 MB / 0.754 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.4441, allocations: 142.8 kB / 0.7541 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3191/0.7632, allocations: 19.57 MB / 0.7732 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.7641, allocations: 1.239 MB / 0.7744 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007171/0.7648, allocations: 146 kB / 0.7746 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/0.7656, allocations: 0.6223 MB / 0.7752 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/0.7656, allocations: 3.438 kB / 0.7752 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/0.8826, allocations: 44.49 MB / 0.8186 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.21, allocations: 4.469 kB / 0.8186 GB, free: 84.27 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)