Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.08223/0.08223, allocations: 12.59 MB / 28.23 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.00113/0.00113, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.271/1.271, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001422/0.001422, allocations: 199.3 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4082/0.4082, allocations: 78.52 MB / 419.3 MB, free: 11.27 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.003595/0.003595, allocations: 139.8 kB / 0.5554 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1066, allocations: 68.13 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01462/0.1213, allocations: 15.01 MB / 0.6366 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008603/0.1299, allocations: 4.585 MB / 0.641 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1321, allocations: 28 kB / 0.6411 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.134, allocations: 0.7753 MB / 0.6418 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.1406, allocations: 2.43 MB / 0.6442 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.1436, allocations: 1.321 MB / 0.6455 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.1501, allocations: 4.899 MB / 0.6503 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.1513, allocations: 0.8035 MB / 0.6511 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.1539, allocations: 1.875 MB / 0.6529 GB, free: 116 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.1571, allocations: 2.451 MB / 0.6553 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008543/0.1579, allocations: 404 kB / 0.6557 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.1592, allocations: 0.6287 MB / 0.6563 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008991/0.1601, allocations: 0.9728 MB / 0.6572 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.1624, allocations: 2.013 MB / 0.6592 GB, free: 9.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.1684, allocations: 5.338 MB / 0.6644 GB, free: 4.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1685, allocations: 4 kB / 0.6644 GB, free: 4.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1685, allocations: 0 / 0.6644 GB, free: 4.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001107/0.1686, allocations: 0 / 0.6644 GB, free: 4.266 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03799/0.2066, allocations: 9.633 MB / 0.6738 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2066, allocations: 15.98 kB / 0.6738 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004216/0.2071, allocations: 282.5 kB / 0.6741 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.2177, allocations: 1.773 MB / 0.6758 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/0.2217, allocations: 2.197 MB / 0.678 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008035/0.2225, allocations: 0.6663 MB / 0.6786 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005793/0.2231, allocations: 239.9 kB / 0.6789 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/0.2291, allocations: 2.693 MB / 0.6815 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.2291, allocations: 0 / 0.6815 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.2294, allocations: 80 kB / 0.6816 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.2294, allocations: 44 kB / 0.6816 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006353/0.2358, allocations: 2.834 MB / 0.6844 GB, free: 15.56 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 preOpt removeSimpleEquations (simulation): time 0.01942/0.2552, allocations: 11.02 MB / 0.6951 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/0.2677, allocations: 4.968 MB / 0.7 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004403/0.2721, allocations: 1.931 MB / 0.7019 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.2725, allocations: 45.95 kB / 0.7019 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2725, allocations: 60.56 kB / 0.702 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.218e-06/0.2725, allocations: 0 / 0.702 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.3474/0.6199, allocations: 29.56 MB / 0.7308 GB, free: 77.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.62, allocations: 77.41 kB / 0.7309 GB, free: 77.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/0.624, allocations: 2.909 MB / 0.7338 GB, free: 76.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007457/0.6248, allocations: 81.83 kB / 0.7338 GB, free: 76.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008664/0.6257, allocations: 1.278 MB / 0.7351 GB, free: 75.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.6268, allocations: 0.9431 MB / 0.736 GB, free: 74.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.628, allocations: 0.7451 MB / 0.7367 GB, free: 74.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.6281, allocations: 305.1 kB / 0.737 GB, free: 73.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/0.6323, allocations: 2.282 MB / 0.7393 GB, free: 72.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/0.6365, allocations: 2.68 MB / 0.7419 GB, free: 71.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008182/0.6447, allocations: 4.849 MB / 0.7466 GB, free: 68.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.6448, allocations: 0 / 0.7466 GB, free: 68.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01314/0.6579, allocations: 7.254 MB / 0.7537 GB, free: 63.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.658, allocations: 8.688 kB / 0.7537 GB, free: 63.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.658, allocations: 8 kB / 0.7537 GB, free: 63.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01659/0.6746, allocations: 5.733 MB / 0.7593 GB, free: 57.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.6775, allocations: 0.6671 MB / 0.76 GB, free: 57.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.6891, allocations: 5.443 MB / 0.7653 GB, free: 51.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/0.6935, allocations: 0.5272 MB / 0.7658 GB, free: 51.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/0.694, allocations: 136 kB / 0.7659 GB, free: 50.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.6951, allocations: 0.5253 MB / 0.7664 GB, free: 50.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006086/0.6957, allocations: 349.7 kB / 0.7668 GB, free: 50.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03038/0.7261, allocations: 10.52 MB / 0.777 GB, free: 39.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.7261, allocations: 24 kB / 0.7771 GB, free: 39.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.7261, allocations: 3.938 kB / 0.7771 GB, free: 39.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/0.7262, allocations: 11.95 kB / 0.7771 GB, free: 39.46 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.03479/0.761, allocations: 14.63 MB / 0.7914 GB, free: 24.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.761, allocations: 0 / 0.7914 GB, free: 24.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.7624, allocations: 263.6 kB / 0.7916 GB, free: 24.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01397/0.7764, allocations: 4.761 MB / 0.7963 GB, free: 19.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004597/0.7769, allocations: 49.36 kB / 0.7963 GB, free: 19.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04672/0.8236, allocations: 21.48 MB / 0.8173 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.8237, allocations: 4.75 kB / 0.8173 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04124/0.8649, allocations: 12.84 MB / 0.8298 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.8661, allocations: 0.5037 MB / 0.8303 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007376/0.8668, allocations: 43.98 kB / 0.8304 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/0.8698, allocations: 247.7 kB / 0.8306 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001809/0.8717, allocations: 0.5179 MB / 0.8311 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/0.8719, allocations: 73.17 kB / 0.8312 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002861/0.8748, allocations: 1.873 MB / 0.833 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8748, allocations: 9.906 kB / 0.833 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003137/0.8779, allocations: 1.13 MB / 0.8341 GB, free: 12.74 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04047/0.9184, allocations: 13.24 MB / 0.8471 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01809/0.9366, allocations: 6.155 MB / 0.8531 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9366, allocations: 0 / 0.8531 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/0.9485, allocations: 3.809 MB / 0.8568 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.9507, allocations: 274.4 kB / 0.857 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07995/1.031, allocations: 37.06 MB / 0.8932 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.032, allocations: 1.845 MB / 0.895 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001242/1.033, allocations: 292.9 kB / 0.8953 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002059/1.036, allocations: 1.394 MB / 0.8967 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.9e-07/1.036, allocations: 0 / 0.8967 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/1.404, allocations: 89.61 MB / 0.9842 GB, free: 230.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.64, allocations: 9.344 kB / 0.9842 GB, free: 230.4 MB / 0.67 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)