Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_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.0007772/0.0007774, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.424/1.424, allocations: 223.3 MB / 239.4 MB, free: 5.512 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.001232/0.001232, allocations: 176.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5672/0.5672, allocations: 91.93 MB / 433.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004206, allocations: 12 kB / 0.5049 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.453, allocations: 72.46 MB / 0.5756 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01089/0.4639, allocations: 15.09 MB / 0.5904 GB, free: 25.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009832/0.4738, allocations: 4.675 MB / 0.5949 GB, free: 22.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.4774, allocations: 30.75 kB / 0.595 GB, free: 22.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.4798, allocations: 0.62 MB / 0.5956 GB, free: 22.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006599/0.4864, allocations: 1.637 MB / 0.5972 GB, free: 21.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.4898, allocations: 1.329 MB / 0.5985 GB, free: 20.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007834/0.4977, allocations: 4.245 MB / 0.6026 GB, free: 18.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.4997, allocations: 0.7021 MB / 0.6033 GB, free: 17.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.5034, allocations: 1.536 MB / 0.6048 GB, free: 17.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004784/0.5083, allocations: 2.124 MB / 0.6069 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.5104, allocations: 185.6 kB / 0.607 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.5138, allocations: 408.4 kB / 0.6074 GB, free: 16.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.5159, allocations: 0.7192 MB / 0.6081 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005292/0.5212, allocations: 1.761 MB / 0.6099 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009705/0.5309, allocations: 4.937 MB / 0.6147 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.531, allocations: 0 / 0.6147 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.252e-06/0.531, allocations: 0 / 0.6147 GB, free: 12.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002346/0.5313, allocations: 5.5 kB / 0.6147 GB, free: 12.85 MB / 430.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.03505/0.5663, allocations: 7.686 MB / 0.6222 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.5664, allocations: 9.5 kB / 0.6222 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001816/0.5682, allocations: 285.7 kB / 0.6225 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.5807, allocations: 1.773 MB / 0.6242 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005978/0.5867, allocations: 2.169 MB / 0.6263 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008971/0.5877, allocations: 0.695 MB / 0.627 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008929/0.5886, allocations: 242.5 kB / 0.6272 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007815/0.5964, allocations: 2.861 MB / 0.63 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.5965, allocations: 0 / 0.63 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.5967, allocations: 75.75 kB / 0.6301 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.5968, allocations: 50.81 kB / 0.6302 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006084/0.6029, allocations: 3.033 MB / 0.6331 GB, free: 2.492 MB / 430.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.02387/0.6268, allocations: 11.2 MB / 0.644 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.6408, allocations: 5.678 MB / 0.6496 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005042/0.6459, allocations: 2.107 MB / 0.6517 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.6462, allocations: 45.95 kB / 0.6517 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.6462, allocations: 60.56 kB / 0.6518 GB, free: 14.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.318e-06/0.6462, allocations: 0 / 0.6518 GB, free: 14.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1491/0.7954, allocations: 35.73 MB / 0.6866 GB, free: 10.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.7955, allocations: 77.41 kB / 0.6867 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008791/0.8043, allocations: 2.906 MB / 0.6896 GB, free: 7.844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001523/0.8059, allocations: 81.7 kB / 0.6896 GB, free: 7.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/0.8079, allocations: 1.256 MB / 0.6909 GB, free: 6.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002731/0.8107, allocations: 0.9013 MB / 0.6917 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/0.8128, allocations: 394.6 kB / 0.6921 GB, free: 5.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8129, allocations: 301.1 kB / 0.6924 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008016/0.821, allocations: 2.46 MB / 0.6948 GB, free: 2.414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007681/0.8287, allocations: 2.86 MB / 0.6976 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/0.8421, allocations: 5.21 MB / 0.7027 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.8421, allocations: 0 / 0.7027 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0252/0.8673, allocations: 7.759 MB / 0.7103 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.8674, allocations: 12.62 kB / 0.7103 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.8674, allocations: 4 kB / 0.7103 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/0.8906, allocations: 6.569 MB / 0.7167 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/0.8947, allocations: 0.6632 MB / 0.7173 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.9127, allocations: 6.153 MB / 0.7234 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006738/0.9195, allocations: 0.5977 MB / 0.7239 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/0.9206, allocations: 140 kB / 0.7241 GB, free: 4.223 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.002692/0.9233, allocations: 0.5245 MB / 0.7246 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/0.9249, allocations: 335.7 kB / 0.7249 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04227/0.9672, allocations: 12.87 MB / 0.7375 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.954e-05/0.9673, allocations: 27.94 kB / 0.7375 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.9673, allocations: 0 / 0.7375 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/0.9674, allocations: 15.94 kB / 0.7375 GB, free: 6.367 MB / 0.5294 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.05666/1.024, allocations: 16.99 MB / 0.7541 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/1.024, allocations: 7.984 kB / 0.7541 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.026, allocations: 251.6 kB / 0.7544 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02027/1.047, allocations: 5.585 MB / 0.7598 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009277/1.048, allocations: 51.98 kB / 0.7599 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4067/1.454, allocations: 22.03 MB / 0.7814 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.454, allocations: 0 / 0.7814 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04809/1.503, allocations: 15.35 MB / 0.7964 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/1.505, allocations: 0.4909 MB / 0.7968 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.506, allocations: 47.66 kB / 0.7969 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004098/1.51, allocations: 339.8 kB / 0.7972 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002303/1.513, allocations: 0.5086 MB / 0.7977 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.513, allocations: 64.23 kB / 0.7978 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004073/1.517, allocations: 1.878 MB / 0.7996 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.81e-07/1.517, allocations: 0 / 0.7996 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005747/1.523, allocations: 1.127 MB / 0.8007 GB, free: 159.4 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.04694/1.57, allocations: 15.71 MB / 0.816 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02097/1.591, allocations: 6.833 MB / 0.8227 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.591, allocations: 0 / 0.8227 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0149/1.606, allocations: 4.28 MB / 0.8269 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007852/1.614, allocations: 267.9 kB / 0.8271 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/1.732, allocations: 46.83 MB / 0.8729 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/1.734, allocations: 1.841 MB / 0.8747 GB, free: 93.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001904/1.736, allocations: 284.9 kB / 0.8749 GB, free: 92.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002637/1.739, allocations: 1.382 MB / 0.8763 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/1.739, allocations: 0 / 0.8763 GB, free: 91.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.871, allocations: 81.06 MB / 0.9555 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.871, allocations: 218.8 kB / 0.9557 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.5/7.371, allocations: 0 / 0.9557 GB, free: 10.28 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)