Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.005815/0.005815, allocations: 106.5 kB / 15.73 MB, free: 6 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.419/1.419, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001439/0.001439, allocations: 188.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4454/0.4454, allocations: 78.53 MB / 418.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 71.88 kB / 0.5531 GB, free: 1.508 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3317, allocations: 68.17 MB / 0.6197 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01182/0.3435, allocations: 14.96 MB / 0.6343 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.3541, allocations: 4.608 MB / 0.6388 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003359/0.3575, allocations: 28 kB / 0.6388 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.3605, allocations: 0.779 MB / 0.6396 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008191/0.3688, allocations: 2.418 MB / 0.642 GB, free: 3.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.3723, allocations: 1.33 MB / 0.6433 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007465/0.3798, allocations: 4.891 MB / 0.648 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.3817, allocations: 0.794 MB / 0.6488 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.3851, allocations: 1.895 MB / 0.6507 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.389, allocations: 2.455 MB / 0.6531 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.3907, allocations: 400 kB / 0.6534 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.3928, allocations: 0.6364 MB / 0.6541 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.3945, allocations: 0.9728 MB / 0.655 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004176/0.3987, allocations: 2.005 MB / 0.657 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007543/0.4063, allocations: 5.326 MB / 0.6622 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4063, allocations: 0 / 0.6622 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.4063, allocations: 7.984 kB / 0.6622 GB, free: 14.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001906/0.4065, allocations: 0 / 0.6622 GB, free: 14.54 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.04016/0.4467, allocations: 9.513 MB / 0.6715 GB, free: 4.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4468, allocations: 8.031 kB / 0.6715 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009103/0.4477, allocations: 286.5 kB / 0.6717 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.4593, allocations: 1.747 MB / 0.6735 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.4646, allocations: 2.179 MB / 0.6756 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008612/0.4655, allocations: 0.6664 MB / 0.6762 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.4666, allocations: 239.8 kB / 0.6765 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/0.474, allocations: 2.682 MB / 0.6791 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/0.4741, allocations: 0 / 0.6791 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003756/0.4745, allocations: 80 kB / 0.6792 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.4745, allocations: 48 kB / 0.6792 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007372/0.4819, allocations: 2.834 MB / 0.682 GB, free: 10.02 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 preOpt removeSimpleEquations (simulation): time 0.02263/0.5046, allocations: 11 MB / 0.6927 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.5177, allocations: 4.982 MB / 0.6976 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004916/0.5226, allocations: 1.927 MB / 0.6995 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.5231, allocations: 45.88 kB / 0.6995 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.5232, allocations: 64.48 kB / 0.6996 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.669e-06/0.5232, allocations: 4 kB / 0.6996 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1302/0.6534, allocations: 29.55 MB / 0.7284 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.6535, allocations: 77.41 kB / 0.7285 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/0.6583, allocations: 2.898 MB / 0.7313 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007946/0.6591, allocations: 81.7 kB / 0.7314 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.6605, allocations: 1.264 MB / 0.7326 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/0.662, allocations: 0.8974 MB / 0.7335 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/0.6648, allocations: 0.7405 MB / 0.7342 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.6649, allocations: 309.1 kB / 0.7345 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00554/0.6704, allocations: 2.28 MB / 0.7368 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005872/0.6763, allocations: 2.68 MB / 0.7394 GB, free: 14.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.6875, allocations: 4.855 MB / 0.7441 GB, free: 9.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.6876, allocations: 4 kB / 0.7441 GB, free: 9.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02155/0.7091, allocations: 7.22 MB / 0.7512 GB, free: 2.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.7092, allocations: 10.66 kB / 0.7512 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.7092, allocations: 4 kB / 0.7512 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/0.7298, allocations: 5.737 MB / 0.7568 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/0.7332, allocations: 0.6632 MB / 0.7574 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.7484, allocations: 5.45 MB / 0.7628 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/0.7539, allocations: 0.5079 MB / 0.7633 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000965/0.7549, allocations: 139.9 kB / 0.7634 GB, free: 5.52 MB / 0.5606 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.001976/0.7569, allocations: 0.5284 MB / 0.7639 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/0.7581, allocations: 335.7 kB / 0.7642 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3353/1.093, allocations: 10.52 MB / 0.7745 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.093, allocations: 23.62 kB / 0.7745 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.093, allocations: 6.375 kB / 0.7745 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.848e-05/1.094, allocations: 14.34 kB / 0.7745 GB, free: 130.8 MB / 0.5606 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.0399/1.133, allocations: 14.62 MB / 0.7888 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.134, allocations: 0 / 0.7888 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.135, allocations: 263.4 kB / 0.7891 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01532/1.15, allocations: 4.76 MB / 0.7937 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00064/1.151, allocations: 59.3 kB / 0.7938 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05317/1.204, allocations: 21.45 MB / 0.8147 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.204, allocations: 0 / 0.8147 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03887/1.243, allocations: 12.81 MB / 0.8272 GB, free: 90.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.245, allocations: 0.4889 MB / 0.8277 GB, free: 89.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.246, allocations: 51.81 kB / 0.8278 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/1.249, allocations: 247.7 kB / 0.828 GB, free: 89.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002149/1.252, allocations: 0.514 MB / 0.8285 GB, free: 89.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005451/1.252, allocations: 67.98 kB / 0.8286 GB, free: 89.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003342/1.256, allocations: 1.877 MB / 0.8304 GB, free: 87.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.51e-07/1.256, allocations: 0 / 0.8304 GB, free: 87.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004425/1.26, allocations: 1.122 MB / 0.8315 GB, free: 86.13 MB / 0.5606 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.03867/1.299, allocations: 13.23 MB / 0.8444 GB, free: 72.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01819/1.317, allocations: 6.156 MB / 0.8504 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.317, allocations: 4 kB / 0.8504 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.329, allocations: 3.781 MB / 0.8541 GB, free: 62.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.332, allocations: 273.6 kB / 0.8544 GB, free: 62.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08406/1.416, allocations: 36.91 MB / 0.8904 GB, free: 25.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.418, allocations: 1.851 MB / 0.8922 GB, free: 23.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001478/1.419, allocations: 284.9 kB / 0.8925 GB, free: 22.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.421, allocations: 1.39 MB / 0.8939 GB, free: 21.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/1.421, allocations: 4 kB / 0.8939 GB, free: 21.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/1.577, allocations: 93.34 MB / 0.985 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.73/20.31, allocations: 3.625 kB / 0.985 GB, free: 8.348 MB / 0.6387 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)