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.08189/0.08189, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001199/0.001199, allocations: 115.4 kB / 31.84 MB, free: 3.906 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.282/1.282, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001411/0.001411, allocations: 187.8 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4049/0.4049, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.003646/0.003646, allocations: 142.6 kB / 0.5554 GB, free: 17.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1149, allocations: 68.12 MB / 0.6219 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.007977/0.1229, allocations: 7.057 MB / 0.6288 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005092/0.1281, allocations: 2.181 MB / 0.6309 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006294/0.1287, allocations: 12 kB / 0.6309 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.1293, allocations: 273.7 kB / 0.6312 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.132, allocations: 1.138 MB / 0.6323 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1332, allocations: 0.5654 MB / 0.6329 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.1355, allocations: 1.889 MB / 0.6347 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.136, allocations: 320 kB / 0.635 GB, free: 160 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.137, allocations: 0.7277 MB / 0.6357 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1381, allocations: 0.9453 MB / 0.6366 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.1383, allocations: 136 kB / 0.6368 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.139, allocations: 367.6 kB / 0.6371 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.1394, allocations: 358.6 kB / 0.6375 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000741/0.1401, allocations: 0.7574 MB / 0.6382 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.1422, allocations: 1.867 MB / 0.64 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1422, allocations: 0 / 0.64 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1422, allocations: 0 / 0.64 GB, free: 11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.1423, allocations: 0 / 0.64 GB, free: 11 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.01295/0.1552, allocations: 3.632 MB / 0.6436 GB, free: 7.305 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1553, allocations: 15.98 kB / 0.6436 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.1554, allocations: 130.9 kB / 0.6437 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/0.1597, allocations: 0.7171 MB / 0.6444 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.1611, allocations: 0.9038 MB / 0.6453 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.1616, allocations: 357.5 kB / 0.6456 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.1617, allocations: 95.92 kB / 0.6457 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.1643, allocations: 1.211 MB / 0.6469 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1643, allocations: 0 / 0.6469 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.1644, allocations: 32 kB / 0.6469 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.1644, allocations: 20 kB / 0.647 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.167, allocations: 1.163 MB / 0.6481 GB, free: 2.543 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.00716/0.1742, allocations: 4.076 MB / 0.6521 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/0.1821, allocations: 2.64 MB / 0.6547 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.184, allocations: 0.8249 MB / 0.6555 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.1842, allocations: 24.97 kB / 0.6555 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1842, allocations: 43.56 kB / 0.6555 GB, free: 10.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 2.946e-06/0.1842, allocations: 0 / 0.6555 GB, free: 10.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.04128/0.2255, allocations: 9.723 MB / 0.665 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.2256, allocations: 90.11 kB / 0.6651 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.2272, allocations: 1.085 MB / 0.6662 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.2275, allocations: 45.7 kB / 0.6662 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.2279, allocations: 0.498 MB / 0.6667 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.2284, allocations: 412.5 kB / 0.6671 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.2289, allocations: 279.5 kB / 0.6674 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.229, allocations: 301.1 kB / 0.6677 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.231, allocations: 0.8433 MB / 0.6685 GB, free: 13.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.2331, allocations: 1.037 MB / 0.6695 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.2372, allocations: 1.863 MB / 0.6713 GB, free: 10.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2372, allocations: 0 / 0.6713 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01325/0.2505, allocations: 4.264 MB / 0.6755 GB, free: 5.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2505, allocations: 4 kB / 0.6755 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.2505, allocations: 4 kB / 0.6755 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00871/0.2593, allocations: 2.365 MB / 0.6778 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2605, allocations: 235.7 kB / 0.678 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/0.2669, allocations: 2.603 MB / 0.6806 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.2687, allocations: 203 kB / 0.6807 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.2688, allocations: 55.92 kB / 0.6808 GB, free: 500 kB / 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.0004963/0.2693, allocations: 258.1 kB / 0.681 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.2696, allocations: 147 kB / 0.6812 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2365/0.5062, allocations: 4.607 MB / 0.6857 GB, free: 54.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.5062, allocations: 11.84 kB / 0.6857 GB, free: 54.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5062, allocations: 0.8125 kB / 0.6857 GB, free: 54.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/0.5063, allocations: 5.391 kB / 0.6857 GB, free: 54.47 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01889/0.5252, allocations: 6.323 MB / 0.6919 GB, free: 52.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5252, allocations: 1.156 kB / 0.6919 GB, free: 52.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.5258, allocations: 104.6 kB / 0.692 GB, free: 52.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007239/0.5331, allocations: 2.14 MB / 0.6941 GB, free: 52.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.5333, allocations: 25.89 kB / 0.6941 GB, free: 52.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/0.5567, allocations: 10.06 MB / 0.7039 GB, free: 47.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5568, allocations: 5.312 kB / 0.7039 GB, free: 47.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/0.5736, allocations: 5.672 MB / 0.7095 GB, free: 44.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.5741, allocations: 240.4 kB / 0.7097 GB, free: 44.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5743, allocations: 20.41 kB / 0.7097 GB, free: 44.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.5756, allocations: 108.7 kB / 0.7098 GB, free: 44.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007775/0.5763, allocations: 238.9 kB / 0.71 GB, free: 44.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.5764, allocations: 35.52 kB / 0.7101 GB, free: 44.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000847/0.5773, allocations: 0.7231 MB / 0.7108 GB, free: 43.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5773, allocations: 0 / 0.7108 GB, free: 43.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001131/0.5784, allocations: 472.6 kB / 0.7112 GB, free: 43.55 MB / 494.1 MB 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.01626/0.5947, allocations: 6.263 MB / 0.7173 GB, free: 38.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007087/0.6018, allocations: 2.561 MB / 0.7198 GB, free: 35.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6019, allocations: 0 / 0.7198 GB, free: 35.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005184/0.6071, allocations: 1.806 MB / 0.7216 GB, free: 33.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.608, allocations: 112.6 kB / 0.7217 GB, free: 33.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03132/0.6394, allocations: 16.35 MB / 0.7377 GB, free: 17.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.6398, allocations: 1.121 MB / 0.7388 GB, free: 16.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.6402, allocations: 108.2 kB / 0.7389 GB, free: 16.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.6407, allocations: 499.2 kB / 0.7394 GB, free: 15.54 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6407, allocations: 3.5 kB / 0.7394 GB, free: 15.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07229/0.713, allocations: 37.26 MB / 0.7757 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.79, allocations: 10.69 kB / 0.7758 GB, free: 10.32 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)