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.0008705/0.0008705, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.8795/0.8795, allocations: 177.2 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] 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.001039/0.001039, allocations: 164.6 kB / 256 MB, free: 13.35 MB / 250.7 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.2742/0.2742, allocations: 80.36 MB / 392.7 MB, free: 2.383 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.44e-05, allocations: 6.219 kB / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.008563/0.008587, allocations: 12.79 MB / 0.5674 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006959/0.01555, allocations: 4.495 MB / 0.5718 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.01667, allocations: 28 kB / 0.5718 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.01784, allocations: 0.771 MB / 0.5726 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.02063, allocations: 2.065 MB / 0.5746 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.02237, allocations: 1.428 MB / 0.576 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.02576, allocations: 4.663 MB / 0.5806 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.02645, allocations: 0.5111 MB / 0.5811 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.02879, allocations: 2.599 MB / 0.5836 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.03008, allocations: 1.92 MB / 0.5855 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.03039, allocations: 404 kB / 0.5859 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.031, allocations: 0.605 MB / 0.5865 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.03146, allocations: 0.9609 MB / 0.5874 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008059/0.03227, allocations: 1.347 MB / 0.5887 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.0356, allocations: 5.428 MB / 0.594 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.03561, allocations: 0 / 0.594 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.03561, allocations: 4 kB / 0.594 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001441/0.03576, allocations: 0 / 0.594 GB, free: 4.418 MB / 0.5105 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.2065/0.2423, allocations: 8.178 MB / 0.602 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2423, allocations: 9.375 kB / 0.602 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002785/0.2426, allocations: 284.3 kB / 0.6023 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005451/0.2481, allocations: 1.767 MB / 0.604 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.2507, allocations: 2.114 MB / 0.6061 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.2511, allocations: 0.8174 MB / 0.6069 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.2515, allocations: 246.2 kB / 0.6071 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/0.2551, allocations: 2.693 MB / 0.6097 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.2551, allocations: 1.062 kB / 0.6097 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.2553, allocations: 83.44 kB / 0.6098 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.2553, allocations: 49.16 kB / 0.6099 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.2596, allocations: 2.826 MB / 0.6126 GB, free: 86.82 MB / 0.5105 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.01473/0.2743, allocations: 7.994 MB / 0.6204 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/0.2813, allocations: 3.878 MB / 0.6242 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.2842, allocations: 1.749 MB / 0.6259 GB, free: 81.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.2845, allocations: 40.2 kB / 0.626 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2845, allocations: 63.31 kB / 0.626 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=253): time 5.109e-06/0.2845, allocations: 0 / 0.626 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=253): time 0.05608/0.3406, allocations: 25.34 MB / 0.6508 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3406, allocations: 81.41 kB / 0.6508 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.3437, allocations: 2.916 MB / 0.6537 GB, free: 61.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008616/0.3445, allocations: 81.7 kB / 0.6538 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.3451, allocations: 1.273 MB / 0.655 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009345/0.346, allocations: 0.9438 MB / 0.6559 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.3471, allocations: 0.7447 MB / 0.6567 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.827e-05/0.3471, allocations: 301.1 kB / 0.6569 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002783/0.3499, allocations: 2.296 MB / 0.6592 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/0.3528, allocations: 2.685 MB / 0.6618 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/0.3592, allocations: 4.863 MB / 0.6666 GB, free: 48.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.3593, allocations: 8 kB / 0.6666 GB, free: 48.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01039/0.3696, allocations: 7.151 MB / 0.6736 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.3697, allocations: 11.94 kB / 0.6736 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3697, allocations: 4.688 kB / 0.6736 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009958/0.3796, allocations: 5.725 MB / 0.6792 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.3818, allocations: 0.671 MB / 0.6798 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007783/0.3896, allocations: 5.443 MB / 0.6851 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.3932, allocations: 0.5206 MB / 0.6856 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/0.3937, allocations: 143.9 kB / 0.6858 GB, free: 28.5 MB / 0.5105 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.001203/0.3949, allocations: 0.5258 MB / 0.6863 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/0.3956, allocations: 357.7 kB / 0.6866 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/0.4126, allocations: 10.44 MB / 0.6968 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4126, allocations: 30.38 kB / 0.6969 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4126, allocations: 3.438 kB / 0.6969 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.4127, allocations: 15.95 kB / 0.6969 GB, free: 17.05 MB / 0.5105 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.02174/0.4344, allocations: 13.09 MB / 0.7097 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.4345, allocations: 3.984 kB / 0.7097 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4355, allocations: 255.7 kB / 0.7099 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008356/0.4439, allocations: 4.757 MB / 0.7145 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004873/0.4444, allocations: 51.98 kB / 0.7146 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03353/0.4779, allocations: 20.81 MB / 0.7349 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4779, allocations: 4 kB / 0.7349 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02342/0.5013, allocations: 12.81 MB / 0.7474 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.5024, allocations: 445.1 kB / 0.7479 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/0.503, allocations: 48 kB / 0.7479 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.5045, allocations: 247.7 kB / 0.7481 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/0.5059, allocations: 0.5411 MB / 0.7487 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.506, allocations: 71.92 kB / 0.7487 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00212/0.5081, allocations: 1.873 MB / 0.7506 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.5081, allocations: 0 / 0.7506 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002543/0.5107, allocations: 1.136 MB / 0.7517 GB, free: 8.602 MB / 0.5573 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.02219/0.5329, allocations: 13.24 MB / 0.7646 GB, free: 11.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01075/0.5436, allocations: 5.789 MB / 0.7703 GB, free: 5.426 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5436, allocations: 0 / 0.7703 GB, free: 5.426 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007102/0.5507, allocations: 3.612 MB / 0.7738 GB, free: 1.801 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.5529, allocations: 271.3 kB / 0.774 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05406/0.607, allocations: 34.95 MB / 0.8082 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.6079, allocations: 1.298 MB / 0.8094 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001024/0.6089, allocations: 297.2 kB / 0.8097 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/0.6103, allocations: 1.402 MB / 0.8111 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/0.6103, allocations: 3.938 kB / 0.8111 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2905/0.9008, allocations: 93.7 MB / 0.9026 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.55, allocations: 10.06 kB / 0.9026 GB, free: 170.9 MB / 0.6355 GB " [Timeout remaining time 648] (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: 14.755268165841699] Failed to read output from testmodel.py, exit status != 0: 11.67520833387971 11.680244911 11.64337664 Calling exit ...