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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 115.6 kB / 17.17 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 250.5 MB, free: 9.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 208.9 kB / 306.7 MB, free: 4.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5978/0.5978, allocations: 101.3 MB / 464.1 MB, free: 11.93 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 87.88 kB / 0.62 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1616, allocations: 78.57 MB / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.3134/0.475, allocations: 15.1 MB / 0.7114 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.4867, allocations: 4.645 MB / 0.716 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/0.492, allocations: 25.88 kB / 0.716 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.4954, allocations: 0.7779 MB / 0.7168 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009239/0.5046, allocations: 2.042 MB / 0.7188 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.5091, allocations: 1.441 MB / 0.7202 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007816/0.5169, allocations: 4.552 MB / 0.7246 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.5181, allocations: 0.5415 MB / 0.7251 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.5217, allocations: 1.858 MB / 0.7269 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.5265, allocations: 2.413 MB / 0.7293 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.5281, allocations: 404.4 kB / 0.7297 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.5306, allocations: 0.6428 MB / 0.7303 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.5318, allocations: 0.9464 MB / 0.7312 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003311/0.5351, allocations: 1.988 MB / 0.7332 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008428/0.5435, allocations: 5.306 MB / 0.7384 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5435, allocations: 3.938 kB / 0.7384 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5435, allocations: 0 / 0.7384 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001603/0.5437, allocations: 0 / 0.7384 GB, free: 14.66 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.03547/0.5792, allocations: 8.295 MB / 0.7465 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5792, allocations: 10.5 kB / 0.7465 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.867e-05/0.5793, allocations: 47.72 kB / 0.7465 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004956/0.5798, allocations: 284.2 kB / 0.7468 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.5924, allocations: 1.774 MB / 0.7485 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/0.598, allocations: 2.196 MB / 0.7507 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/0.5991, allocations: 0.6756 MB / 0.7513 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.6001, allocations: 239.7 kB / 0.7516 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007607/0.6077, allocations: 2.696 MB / 0.7542 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.6078, allocations: 0 / 0.7542 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.608, allocations: 79.94 kB / 0.7543 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.6081, allocations: 47.28 kB / 0.7543 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007637/0.6157, allocations: 2.85 MB / 0.7571 GB, free: 3.781 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 preOpt removeSimpleEquations (simulation): time 0.02395/0.6397, allocations: 11.06 MB / 0.7679 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.6531, allocations: 4.789 MB / 0.7726 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/0.6579, allocations: 1.751 MB / 0.7743 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.6582, allocations: 53.89 kB / 0.7743 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.921e-05/0.6583, allocations: 60.5 kB / 0.7744 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=253): time 4.218e-06/0.6583, allocations: 0 / 0.7744 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=253): time 0.1183/0.7766, allocations: 25.42 MB / 0.7992 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.7767, allocations: 77.41 kB / 0.7993 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/0.7827, allocations: 2.91 MB / 0.8021 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008244/0.7835, allocations: 85.7 kB / 0.8022 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.7849, allocations: 1.274 MB / 0.8035 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/0.7866, allocations: 0.9567 MB / 0.8044 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/0.7883, allocations: 0.7486 MB / 0.8051 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7884, allocations: 309.1 kB / 0.8054 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/0.7938, allocations: 2.288 MB / 0.8077 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005869/0.7996, allocations: 2.693 MB / 0.8103 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.8115, allocations: 4.855 MB / 0.815 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.8115, allocations: 3.938 kB / 0.815 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01906/0.8306, allocations: 7.157 MB / 0.822 GB, free: 460 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.8306, allocations: 8 kB / 0.822 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.8307, allocations: 4.688 kB / 0.822 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02115/0.8518, allocations: 5.729 MB / 0.8276 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/0.8556, allocations: 0.6787 MB / 0.8283 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.8719, allocations: 5.451 MB / 0.8336 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/0.8774, allocations: 0.5167 MB / 0.8341 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008226/0.8783, allocations: 136 kB / 0.8342 GB, free: 3.895 MB / 0.5919 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 (414): * Single equations (assignments): 413 * 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.001994/0.8803, allocations: 0.5284 MB / 0.8348 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.8816, allocations: 349.7 kB / 0.8351 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03813/0.9197, allocations: 10.45 MB / 0.8453 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.9197, allocations: 27.94 kB / 0.8453 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.9198, allocations: 3.984 kB / 0.8453 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/0.9198, allocations: 15.94 kB / 0.8454 GB, free: 8.438 MB / 0.6075 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.04667/0.9665, allocations: 14.61 MB / 0.8596 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.9665, allocations: 4 kB / 0.8596 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.9683, allocations: 267.6 kB / 0.8599 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/0.9861, allocations: 4.753 MB / 0.8645 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006224/0.9868, allocations: 55.98 kB / 0.8646 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06628/1.053, allocations: 21.47 MB / 0.8855 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.053, allocations: 0 / 0.8855 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04958/1.103, allocations: 12.82 MB / 0.8981 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.104, allocations: 0.513 MB / 0.8986 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/1.106, allocations: 44 kB / 0.8986 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004167/1.11, allocations: 247.7 kB / 0.8988 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002325/1.112, allocations: 0.5217 MB / 0.8993 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004995/1.113, allocations: 75.92 kB / 0.8994 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004111/1.117, allocations: 1.877 MB / 0.9013 GB, free: 14.65 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.117, allocations: 3.938 kB / 0.9013 GB, free: 14.64 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005286/1.122, allocations: 1.128 MB / 0.9024 GB, free: 13.52 MB / 0.67 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 (160): * Single equations (assignments): 159 * 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.04596/1.168, allocations: 13.24 MB / 0.9153 GB, free: 180 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02076/1.189, allocations: 5.778 MB / 0.9209 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.189, allocations: 0 / 0.9209 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01322/1.202, allocations: 3.634 MB / 0.9245 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.205, allocations: 275.3 kB / 0.9247 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08537/1.291, allocations: 35.48 MB / 0.9594 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.292, allocations: 1.845 MB / 0.9612 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001598/1.294, allocations: 293 kB / 0.9615 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/1.296, allocations: 1.401 MB / 0.9628 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of SimCode: time 1.944e-06/1.296, allocations: 3.938 kB / 0.9628 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4573/1.754, allocations: 90.98 MB / 1.052 GB, free: 202.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.47/21.23, allocations: 12.2 kB / 1.052 GB, free: 202.2 MB / 0.7325 GB " [Timeout remaining time 639] (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 --stepSize=0.004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.75360518594971] Failed to read output from testmodel.py, exit status != 0: 21.42320328601636 21.432381363 20.886423642 Calling exit ...