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.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.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.459/1.459, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001691/0.001691, allocations: 215.7 kB / 309.2 MB, free: 3.129 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5169/0.5169, allocations: 79.74 MB / 445.4 MB, free: 14.82 MB / 318.1 MB " [Timeout remaining time 179] 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.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_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"}) [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.002441/0.002441, allocations: 83.88 kB / 0.5929 GB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1668, allocations: 73.31 MB / 0.6645 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01596/0.1828, allocations: 15.04 MB / 0.6792 GB, free: 5.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.194, allocations: 4.67 MB / 0.6838 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.1973, allocations: 28 kB / 0.6838 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.2002, allocations: 0.7754 MB / 0.6845 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008899/0.2091, allocations: 2.583 MB / 0.6871 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.2128, allocations: 1.33 MB / 0.6884 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008004/0.2208, allocations: 4.906 MB / 0.6932 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.2223, allocations: 0.5307 MB / 0.6937 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.226, allocations: 1.938 MB / 0.6956 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/0.2302, allocations: 2.482 MB / 0.698 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.2318, allocations: 404 kB / 0.6984 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.2342, allocations: 0.6326 MB / 0.699 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.2359, allocations: 0.9728 MB / 0.6999 GB, free: 124 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.371/0.6069, allocations: 2.002 MB / 0.7019 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007352/0.6142, allocations: 5.354 MB / 0.7071 GB, free: 11.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6142, allocations: 5.141 kB / 0.7071 GB, free: 11.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6142, allocations: 2.438 kB / 0.7071 GB, free: 11.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.6144, allocations: 0 / 0.7071 GB, free: 11.27 MB / 494.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.0434/0.6578, allocations: 9.56 MB / 0.7165 GB, free: 9.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.6579, allocations: 13.39 kB / 0.7165 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004816/0.6584, allocations: 281.4 kB / 0.7168 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.6694, allocations: 1.771 MB / 0.7185 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0047/0.6741, allocations: 2.116 MB / 0.7205 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007113/0.6748, allocations: 0.8203 MB / 0.7214 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005155/0.6753, allocations: 232.9 kB / 0.7216 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/0.6814, allocations: 2.687 MB / 0.7242 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.6815, allocations: 3.281 kB / 0.7242 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.6817, allocations: 78.58 kB / 0.7243 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.6818, allocations: 47.27 kB / 0.7243 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006457/0.6882, allocations: 2.835 MB / 0.7271 GB, free: 7.48 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.02113/0.7094, allocations: 10.93 MB / 0.7378 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.7212, allocations: 3.852 MB / 0.7415 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/0.7253, allocations: 1.741 MB / 0.7432 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.7256, allocations: 43.3 kB / 0.7433 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.7256, allocations: 60.5 kB / 0.7433 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 4.388e-06/0.7256, allocations: 0 / 0.7433 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1353/0.8609, allocations: 29.41 MB / 0.772 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.398e-05/0.861, allocations: 77.41 kB / 0.7721 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/0.869, allocations: 2.907 MB / 0.775 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001383/0.8704, allocations: 85.7 kB / 0.775 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.872, allocations: 1.267 MB / 0.7763 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002549/0.8746, allocations: 0.9465 MB / 0.7772 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/0.877, allocations: 0.7446 MB / 0.7779 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8772, allocations: 309.1 kB / 0.7782 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007718/0.8849, allocations: 2.28 MB / 0.7804 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008607/0.8935, allocations: 2.68 MB / 0.7831 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/0.9102, allocations: 4.851 MB / 0.7878 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.9102, allocations: 4 kB / 0.7878 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02648/0.9367, allocations: 7.146 MB / 0.7948 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.9367, allocations: 11.94 kB / 0.7948 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.9367, allocations: 6.906 kB / 0.7948 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02388/0.9606, allocations: 5.737 MB / 0.8004 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004189/0.9648, allocations: 0.6694 MB / 0.8011 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.9822, allocations: 5.445 MB / 0.8064 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/0.9886, allocations: 0.5128 MB / 0.8069 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/0.9898, allocations: 140 kB / 0.807 GB, free: 14.02 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.002849/0.9927, allocations: 0.5293 MB / 0.8075 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002005/0.9947, allocations: 349.7 kB / 0.8079 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03823/1.033, allocations: 10.43 MB / 0.818 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/1.033, allocations: 28 kB / 0.8181 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.033, allocations: 0 / 0.8181 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.075e-05/1.033, allocations: 15.94 kB / 0.8181 GB, free: 2.703 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.0498/1.083, allocations: 14.52 MB / 0.8323 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/1.083, allocations: 0 / 0.8323 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.085, allocations: 257.8 kB / 0.8325 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01724/1.102, allocations: 4.765 MB / 0.8372 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008762/1.103, allocations: 51.98 kB / 0.8372 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06268/1.166, allocations: 21.37 MB / 0.8581 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.166, allocations: 0 / 0.8581 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0453/1.211, allocations: 12.75 MB / 0.8705 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.213, allocations: 449 kB / 0.871 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/1.215, allocations: 44 kB / 0.871 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004662/1.22, allocations: 247.7 kB / 0.8712 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00273/1.222, allocations: 0.5411 MB / 0.8718 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006761/1.223, allocations: 60 kB / 0.8718 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004569/1.228, allocations: 1.881 MB / 0.8737 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/1.228, allocations: 0 / 0.8737 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006448/1.234, allocations: 1.128 MB / 0.8748 GB, free: 8.461 MB / 0.6231 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.04401/1.278, allocations: 13.17 MB / 0.8876 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02044/1.299, allocations: 5.764 MB / 0.8932 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.299, allocations: 0 / 0.8932 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/1.311, allocations: 3.612 MB / 0.8968 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/1.316, allocations: 264.6 kB / 0.897 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/1.418, allocations: 36.89 MB / 0.9331 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/1.42, allocations: 1.841 MB / 0.9349 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001942/1.422, allocations: 288.9 kB / 0.9351 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/1.425, allocations: 1.394 MB / 0.9365 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of SimCode: time 1.273e-06/1.425, allocations: 0 / 0.9365 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.522/1.947, allocations: 93.15 MB / 1.027 GB, free: 236.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/22.54, allocations: 0 / 1.027 GB, free: 236.5 MB / 0.7169 GB " [Timeout remaining time 637] (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 --stepSize=0.004 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.741863881004974] Failed to read output from testmodel.py, exit status != 0: 22.710915353149176 22.728967988 22.111148319 Calling exit ...