Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 106.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 244.8 MB, free: 14.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 188 kB / 299.8 MB, free: 9.848 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.5247/0.5247, allocations: 79.72 MB / 434.4 MB, free: 6.23 MB / 302.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.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.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 79.86 kB / 0.5784 GB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.162, allocations: 72.1 MB / 0.6488 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008749/0.1708, allocations: 6.664 MB / 0.6553 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.176, allocations: 2.009 MB / 0.6573 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.1772, allocations: 12 kB / 0.6573 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009212/0.1781, allocations: 237.9 kB / 0.6575 GB, free: 8.812 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.1809, allocations: 0.8678 MB / 0.6583 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1825, allocations: 0.6368 MB / 0.659 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.185, allocations: 1.643 MB / 0.6606 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.1855, allocations: 226.5 kB / 0.6608 GB, free: 5.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.1866, allocations: 0.6808 MB / 0.6615 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.1878, allocations: 0.8752 MB / 0.6623 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.188, allocations: 128 kB / 0.6624 GB, free: 3.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.1886, allocations: 263.9 kB / 0.6627 GB, free: 3.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.1889, allocations: 346.5 kB / 0.663 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007333/0.1896, allocations: 0.6874 MB / 0.6637 GB, free: 2.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1919, allocations: 1.715 MB / 0.6654 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1919, allocations: 0 / 0.6654 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1919, allocations: 0 / 0.6654 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.192, allocations: 3.938 kB / 0.6654 GB, free: 0.7266 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01003/0.202, allocations: 2.8 MB / 0.6681 GB, free: 13.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.202, allocations: 16.02 kB / 0.6681 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.2022, allocations: 122.7 kB / 0.6682 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/0.2073, allocations: 0.7796 MB / 0.669 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.2094, allocations: 0.9188 MB / 0.6699 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.2097, allocations: 260.2 kB / 0.6701 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.2099, allocations: 87.95 kB / 0.6702 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.2121, allocations: 1.098 MB / 0.6713 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2122, allocations: 4 kB / 0.6713 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.2123, allocations: 28 kB / 0.6713 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.2123, allocations: 20 kB / 0.6713 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.2144, allocations: 1.003 MB / 0.6723 GB, free: 9.418 MB / 478.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.008082/0.2225, allocations: 3.868 MB / 0.6761 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/0.2302, allocations: 2.316 MB / 0.6784 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.2319, allocations: 0.6293 MB / 0.679 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.232, allocations: 16.98 kB / 0.679 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.2338, allocations: 0.8269 MB / 0.6798 GB, free: 1.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.837e-06/0.2338, allocations: 0 / 0.6798 GB, free: 1.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.0306/0.2644, allocations: 7.203 MB / 0.6868 GB, free: 10.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.2645, allocations: 115.8 kB / 0.6869 GB, free: 10.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.2668, allocations: 1.131 MB / 0.688 GB, free: 8.918 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.2671, allocations: 45.7 kB / 0.6881 GB, free: 8.867 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.2677, allocations: 0.5015 MB / 0.6886 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.2683, allocations: 372.8 kB / 0.6889 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008823/0.2692, allocations: 295.5 kB / 0.6892 GB, free: 7.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2693, allocations: 309.1 kB / 0.6895 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.2712, allocations: 0.7769 MB / 0.6903 GB, free: 6.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.2733, allocations: 0.9576 MB / 0.6912 GB, free: 5.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4028/0.6761, allocations: 5.789 MB / 0.6969 GB, free: 43.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.6761, allocations: 1.188 kB / 0.6969 GB, free: 43.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01527/0.6913, allocations: 4.432 MB / 0.7012 GB, free: 43.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.867e-05/0.6914, allocations: 63.72 kB / 0.7012 GB, free: 43.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.6914, allocations: 2.594 kB / 0.7013 GB, free: 43.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006755/0.6982, allocations: 1.64 MB / 0.7029 GB, free: 43.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.7, allocations: 294 kB / 0.7031 GB, free: 43.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/0.7231, allocations: 8.606 MB / 0.7115 GB, free: 39.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.7253, allocations: 205.4 kB / 0.7117 GB, free: 39.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/0.7256, allocations: 60.94 kB / 0.7118 GB, free: 39.19 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008807/0.7265, allocations: 311.3 kB / 0.7121 GB, free: 38.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/0.7269, allocations: 131.6 kB / 0.7122 GB, free: 38.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.7397, allocations: 3.877 MB / 0.716 GB, free: 37.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.7397, allocations: 11.31 kB / 0.716 GB, free: 37.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/0.7397, allocations: 6.375 kB / 0.716 GB, free: 37.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.7398, allocations: 7.406 kB / 0.716 GB, free: 37.93 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 postOpt removeSimpleEquations (simulation): time 0.01555/0.7553, allocations: 5.482 MB / 0.7214 GB, free: 35.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.7553, allocations: 1.375 kB / 0.7214 GB, free: 35.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.7561, allocations: 110.8 kB / 0.7215 GB, free: 35.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/0.7616, allocations: 1.592 MB / 0.723 GB, free: 34.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.7618, allocations: 19.92 kB / 0.7231 GB, free: 34.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.781, allocations: 9.66 MB / 0.7325 GB, free: 28.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.781, allocations: 3.938 kB / 0.7325 GB, free: 28.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.7942, allocations: 4.757 MB / 0.7371 GB, free: 23.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.7948, allocations: 238.6 kB / 0.7374 GB, free: 23.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/0.7952, allocations: 20 kB / 0.7374 GB, free: 23.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.7967, allocations: 111.8 kB / 0.7375 GB, free: 23.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/0.7973, allocations: 196.7 kB / 0.7377 GB, free: 23.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.7974, allocations: 27.98 kB / 0.7377 GB, free: 23.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00119/0.7986, allocations: 0.7553 MB / 0.7384 GB, free: 22.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7986, allocations: 0 / 0.7384 GB, free: 22.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001909/0.8005, allocations: 488.6 kB / 0.7389 GB, free: 21.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01306/0.8136, allocations: 5.348 MB / 0.7441 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006368/0.82, allocations: 2.444 MB / 0.7465 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.82, allocations: 0 / 0.7465 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003877/0.8239, allocations: 1.521 MB / 0.748 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.8253, allocations: 119.2 kB / 0.7481 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04084/0.8662, allocations: 16.52 MB / 0.7643 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.8676, allocations: 1.128 MB / 0.7654 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008698/0.8685, allocations: 120.1 kB / 0.7655 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.8697, allocations: 479.3 kB / 0.7659 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.935e-06/0.8697, allocations: 0 / 0.7659 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.9723, allocations: 35.47 MB / 0.8006 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.53, allocations: 6.812 kB / 0.8006 GB, free: 6.52 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.19552189670503] Failed to read output from testmodel.py, exit status != 0: 16.656904220115393 16.674495921 16.478296189 Calling exit ...