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.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.0007394/0.0007394, 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.8375/0.8375, allocations: 177.1 MB / 199.4 MB, free: 5.961 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.001002/0.001002, allocations: 156.6 kB / 256 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2646/0.2646, allocations: 80.25 MB / 392.6 MB, free: 2.469 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.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 1.202e-06/1.202e-06, allocations: 0 / 0.5548 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.268e-06/1.047e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004308/0.004319, allocations: 5.879 MB / 0.5605 GB, free: 6.797 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.00646, allocations: 1.959 MB / 0.5625 GB, free: 4.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.006724, allocations: 12 kB / 0.5625 GB, free: 4.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.007195, allocations: 237.8 kB / 0.5627 GB, free: 4.586 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.008289, allocations: 0.8771 MB / 0.5635 GB, free: 3.707 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.00896, allocations: 0.6521 MB / 0.5642 GB, free: 3.062 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.00988, allocations: 1.647 MB / 0.5658 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.01013, allocations: 207 kB / 0.566 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.01076, allocations: 0.9428 MB / 0.5669 GB, free: 256 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.01128, allocations: 0.7011 MB / 0.5676 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.0114, allocations: 128 kB / 0.5677 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.01167, allocations: 279.7 kB / 0.568 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.01186, allocations: 346.5 kB / 0.5683 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.01214, allocations: 482.4 kB / 0.5688 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.01324, allocations: 1.771 MB / 0.5705 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01324, allocations: 11.94 kB / 0.5705 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01324, allocations: 0 / 0.5705 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.01325, allocations: 0 / 0.5705 GB, free: 12.54 MB / 0.4948 GB 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.004587/0.01784, allocations: 2.863 MB / 0.5733 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.01787, allocations: 8.031 kB / 0.5733 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.01798, allocations: 126.7 kB / 0.5734 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.02043, allocations: 0.7952 MB / 0.5742 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.02139, allocations: 0.8699 MB / 0.5751 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.02158, allocations: 337.3 kB / 0.5754 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.0217, allocations: 80 kB / 0.5755 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.02298, allocations: 1.123 MB / 0.5766 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.023, allocations: 0 / 0.5766 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.02306, allocations: 32 kB / 0.5766 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.02307, allocations: 23.94 kB / 0.5766 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.02437, allocations: 1.021 MB / 0.5776 GB, free: 5.082 MB / 0.4948 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.003629/0.028, allocations: 2.988 MB / 0.5805 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/0.03174, allocations: 2.034 MB / 0.5825 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/0.03255, allocations: 0.6532 MB / 0.5832 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.03262, allocations: 16.98 kB / 0.5832 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009949/0.03361, allocations: 0.8507 MB / 0.584 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 2.414e-06/0.03362, allocations: 0 / 0.584 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.01469/0.04831, allocations: 7.103 MB / 0.5909 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.04835, allocations: 115.8 kB / 0.591 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.04932, allocations: 1.123 MB / 0.5921 GB, free: 6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.04939, allocations: 45.7 kB / 0.5922 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.04965, allocations: 0.517 MB / 0.5927 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.04987, allocations: 368.9 kB / 0.593 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.05019, allocations: 295.5 kB / 0.5933 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.05026, allocations: 305.1 kB / 0.5936 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.05129, allocations: 0.8311 MB / 0.5944 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.05238, allocations: 1.012 MB / 0.5954 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1874/0.2397, allocations: 6.009 MB / 0.6013 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.2397, allocations: 2.938 kB / 0.6013 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006893/0.2466, allocations: 4.481 MB / 0.6057 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2467, allocations: 62.75 kB / 0.6057 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2467, allocations: 3.594 kB / 0.6057 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/0.2499, allocations: 1.634 MB / 0.6073 GB, free: 90.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.2506, allocations: 291.7 kB / 0.6076 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.2621, allocations: 8.321 MB / 0.6157 GB, free: 86.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.263, allocations: 211.6 kB / 0.6159 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.2631, allocations: 61.66 kB / 0.616 GB, free: 86.68 MB / 0.5105 GB 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.0003933/0.2635, allocations: 316.3 kB / 0.6163 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2636, allocations: 136.1 kB / 0.6164 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/0.2706, allocations: 3.894 MB / 0.6202 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2706, allocations: 10.69 kB / 0.6202 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2706, allocations: 7.5 kB / 0.6202 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.2706, allocations: 4.641 kB / 0.6202 GB, free: 85.4 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.00788/0.2785, allocations: 5.039 MB / 0.6252 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2785, allocations: 1.031 kB / 0.6252 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.2788, allocations: 100.1 kB / 0.6253 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/0.2816, allocations: 1.581 MB / 0.6268 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.2817, allocations: 25.86 kB / 0.6268 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.2925, allocations: 9.255 MB / 0.6359 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2925, allocations: 5.312 kB / 0.6359 GB, free: 78.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007199/0.2997, allocations: 4.805 MB / 0.6406 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2999, allocations: 159.2 kB / 0.6407 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3, allocations: 23.66 kB / 0.6407 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.3005, allocations: 106.8 kB / 0.6408 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.3008, allocations: 211.4 kB / 0.641 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.3009, allocations: 31.64 kB / 0.6411 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006036/0.3015, allocations: 0.757 MB / 0.6418 GB, free: 75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3015, allocations: 0 / 0.6418 GB, free: 75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009355/0.3024, allocations: 494 kB / 0.6423 GB, free: 74.88 MB / 0.5105 GB 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.007112/0.3095, allocations: 5.394 MB / 0.6476 GB, free: 69.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.3129, allocations: 2.53 MB / 0.65 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3129, allocations: 0 / 0.65 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.3148, allocations: 1.555 MB / 0.6515 GB, free: 65.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.3153, allocations: 119.3 kB / 0.6517 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.3348, allocations: 16.54 MB / 0.6678 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3351, allocations: 0.541 MB / 0.6683 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.3353, allocations: 127.5 kB / 0.6685 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.3357, allocations: 480.3 kB / 0.6689 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.3357, allocations: 5.156 kB / 0.6689 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.3741, allocations: 38.74 MB / 0.7068 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.904, allocations: 7.875 kB / 0.7068 GB, free: 8.773 MB / 0.5105 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 11.087249452248216] Failed to read output from testmodel.py, exit status != 0: 9.012891580350697 9.025434542 9.009441776 Calling exit ...