Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08158/0.08158, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.441/0.441, allocations: 78.51 MB / 419.3 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 143.2 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1267, allocations: 68.12 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.00988/0.1367, allocations: 7.055 MB / 0.6288 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.1422, allocations: 2.189 MB / 0.6309 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.1437, allocations: 12 kB / 0.6309 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1448, allocations: 273.8 kB / 0.6312 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.1488, allocations: 1.192 MB / 0.6324 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1503, allocations: 0.5574 MB / 0.6329 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.1532, allocations: 1.901 MB / 0.6348 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005819/0.1538, allocations: 324 kB / 0.6351 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1549, allocations: 0.7237 MB / 0.6358 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.1563, allocations: 0.9492 MB / 0.6367 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.1566, allocations: 136 kB / 0.6368 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.1575, allocations: 355.7 kB / 0.6372 GB, free: 248 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.1578, allocations: 374.5 kB / 0.6375 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.1585, allocations: 0.7458 MB / 0.6383 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.1607, allocations: 1.871 MB / 0.6401 GB, free: 13.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1607, allocations: 0 / 0.6401 GB, free: 13.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1607, allocations: 0 / 0.6401 GB, free: 13.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.1608, allocations: 0 / 0.6401 GB, free: 13.25 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01378/0.1746, allocations: 3.636 MB / 0.6436 GB, free: 9.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1746, allocations: 15.98 kB / 0.6437 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.1748, allocations: 134.9 kB / 0.6438 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.1793, allocations: 0.7132 MB / 0.6445 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.1807, allocations: 0.9 MB / 0.6454 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.1811, allocations: 361.5 kB / 0.6457 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.1813, allocations: 91.94 kB / 0.6458 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.1838, allocations: 1.211 MB / 0.647 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1838, allocations: 0 / 0.647 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.1839, allocations: 28 kB / 0.647 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1839, allocations: 24 kB / 0.647 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1864, allocations: 1.156 MB / 0.6482 GB, free: 4.801 MB / 462.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.007602/0.194, allocations: 4.08 MB / 0.6521 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.2021, allocations: 2.64 MB / 0.6547 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.2042, allocations: 0.8172 MB / 0.6555 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2044, allocations: 24.97 kB / 0.6555 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.2045, allocations: 51.5 kB / 0.6556 GB, free: 12.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 3.387e-06/0.2045, allocations: 0 / 0.6556 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.04175/0.2462, allocations: 9.727 MB / 0.6651 GB, free: 3.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.2464, allocations: 86.11 kB / 0.6652 GB, free: 2.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.2489, allocations: 1.089 MB / 0.6662 GB, free: 1.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004371/0.2494, allocations: 49.7 kB / 0.6663 GB, free: 1.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.2499, allocations: 0.5019 MB / 0.6668 GB, free: 1.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005843/0.2505, allocations: 404.5 kB / 0.6672 GB, free: 0.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007193/0.2513, allocations: 271.5 kB / 0.6674 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2514, allocations: 309.1 kB / 0.6677 GB, free: 352 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.2535, allocations: 0.8394 MB / 0.6685 GB, free: 15.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.2556, allocations: 1.03 MB / 0.6695 GB, free: 14.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.2597, allocations: 1.874 MB / 0.6714 GB, free: 12.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.2597, allocations: 0 / 0.6714 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01332/0.273, allocations: 4.26 MB / 0.6755 GB, free: 8.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.2731, allocations: 10.97 kB / 0.6755 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2732, allocations: 0 / 0.6755 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009197/0.2824, allocations: 2.357 MB / 0.6778 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.2837, allocations: 243.6 kB / 0.6781 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.2904, allocations: 2.599 MB / 0.6806 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.2924, allocations: 207 kB / 0.6808 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.2927, allocations: 51.98 kB / 0.6809 GB, free: 2.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006638/0.2934, allocations: 258.1 kB / 0.6811 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.2938, allocations: 139 kB / 0.6812 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.3095, allocations: 4.625 MB / 0.6857 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.3096, allocations: 12 kB / 0.6858 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3096, allocations: 0 / 0.6858 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.3096, allocations: 3.984 kB / 0.6858 GB, free: 13.69 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 postOpt removeSimpleEquations (simulation): time 0.01928/0.3289, allocations: 6.315 MB / 0.6919 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.329, allocations: 0 / 0.6919 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.3298, allocations: 115.8 kB / 0.692 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007966/0.3378, allocations: 2.142 MB / 0.6941 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/0.3381, allocations: 27.94 kB / 0.6942 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/0.3654, allocations: 10.05 MB / 0.704 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3655, allocations: 0 / 0.704 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/0.3836, allocations: 5.681 MB / 0.7095 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.3842, allocations: 239.9 kB / 0.7098 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.3846, allocations: 20 kB / 0.7098 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.3861, allocations: 99.89 kB / 0.7099 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/0.3869, allocations: 245.1 kB / 0.7101 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.387, allocations: 31.94 kB / 0.7101 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001111/0.3881, allocations: 0.7287 MB / 0.7108 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3881, allocations: 0 / 0.7108 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001461/0.3896, allocations: 471.6 kB / 0.7113 GB, free: 3.199 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.2603/0.6499, allocations: 6.252 MB / 0.7174 GB, free: 83.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008383/0.6583, allocations: 2.549 MB / 0.7199 GB, free: 83.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6583, allocations: 0 / 0.7199 GB, free: 83.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005997/0.6643, allocations: 1.817 MB / 0.7217 GB, free: 83.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6654, allocations: 108.9 kB / 0.7218 GB, free: 83.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/0.7019, allocations: 16.36 MB / 0.7377 GB, free: 76.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.7024, allocations: 1.119 MB / 0.7388 GB, free: 75.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.7028, allocations: 111.9 kB / 0.7389 GB, free: 75.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.7033, allocations: 488.7 kB / 0.7394 GB, free: 75.57 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.7033, allocations: 0 / 0.7394 GB, free: 75.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.7576, allocations: 37.27 MB / 0.7758 GB, free: 43.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.45, allocations: 7.062 kB / 0.7758 GB, free: 43.08 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)