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.0008149/0.0008149, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8731/0.8731, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001035/0.001035, allocations: 160 kB / 256 MB, free: 13.33 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.2648/0.2648, allocations: 80.25 MB / 392.6 MB, free: 2.438 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.763e-06/1.763e-06, allocations: 0 / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.754e-05, allocations: 5.344 kB / 0.5548 GB, free: 12.33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004989/0.005006, allocations: 5.878 MB / 0.5605 GB, free: 6.426 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.007941, allocations: 1.962 MB / 0.5625 GB, free: 4.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.00837, allocations: 8 kB / 0.5625 GB, free: 4.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.008902, allocations: 253.7 kB / 0.5627 GB, free: 4.199 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.01019, allocations: 0.877 MB / 0.5636 GB, free: 3.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.01105, allocations: 0.6445 MB / 0.5642 GB, free: 2.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.01252, allocations: 1.635 MB / 0.5658 GB, free: 1.035 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.01279, allocations: 226.9 kB / 0.566 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1958/0.2086, allocations: 0.9234 MB / 0.5669 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.2097, allocations: 0.6971 MB / 0.5676 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003183/0.21, allocations: 129 kB / 0.5677 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.2105, allocations: 279.4 kB / 0.568 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.2108, allocations: 346.1 kB / 0.5683 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.2113, allocations: 475.6 kB / 0.5688 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.213, allocations: 1.787 MB / 0.5705 GB, free: 15.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.213, allocations: 0 / 0.5705 GB, free: 15.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.213, allocations: 0.875 kB / 0.5705 GB, free: 15.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.641e-05/0.213, allocations: 1.094 kB / 0.5705 GB, free: 15.56 MB / 442.7 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.005374/0.2184, allocations: 2.866 MB / 0.5733 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2184, allocations: 9.906 kB / 0.5733 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.2186, allocations: 124.5 kB / 0.5734 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.2212, allocations: 0.7946 MB / 0.5742 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2223, allocations: 0.8583 MB / 0.575 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.2225, allocations: 349.8 kB / 0.5754 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2226, allocations: 81.14 kB / 0.5755 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.224, allocations: 1.127 MB / 0.5766 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.224, allocations: 0 / 0.5766 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.2241, allocations: 30.88 kB / 0.5766 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.2241, allocations: 18.81 kB / 0.5766 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.2255, allocations: 1.018 MB / 0.5776 GB, free: 13.31 MB / 442.7 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.004055/0.2295, allocations: 2.99 MB / 0.5805 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004092/0.2336, allocations: 2.034 MB / 0.5825 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000864/0.2345, allocations: 0.6589 MB / 0.5831 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.2346, allocations: 17.44 kB / 0.5832 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.2356, allocations: 0.8496 MB / 0.584 GB, free: 10.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.314e-06/0.2356, allocations: 1.125 kB / 0.584 GB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01525/0.2509, allocations: 7.099 MB / 0.5909 GB, free: 8.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.2509, allocations: 118.2 kB / 0.591 GB, free: 8.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.2522, allocations: 1.121 MB / 0.5921 GB, free: 7.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.2523, allocations: 50.12 kB / 0.5922 GB, free: 7.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.2525, allocations: 0.5033 MB / 0.5927 GB, free: 7.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.2527, allocations: 379.4 kB / 0.593 GB, free: 6.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.253, allocations: 288.9 kB / 0.5933 GB, free: 6.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.431e-05/0.2531, allocations: 306.4 kB / 0.5936 GB, free: 6.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.2541, allocations: 0.8301 MB / 0.5944 GB, free: 5.793 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.2552, allocations: 1.011 MB / 0.5954 GB, free: 5.164 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.2673, allocations: 6.016 MB / 0.6013 GB, free: 2.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2673, allocations: 3.25 kB / 0.6013 GB, free: 2.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007068/0.2744, allocations: 4.486 MB / 0.6057 GB, free: 14.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.2744, allocations: 63.41 kB / 0.6057 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2744, allocations: 4 kB / 0.6057 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/0.2776, allocations: 1.63 MB / 0.6073 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.2784, allocations: 288.1 kB / 0.6076 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.29, allocations: 8.333 MB / 0.6157 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.2912, allocations: 208.7 kB / 0.6159 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.2913, allocations: 59.97 kB / 0.616 GB, free: 3.609 MB / 458.7 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.0004813/0.2917, allocations: 311.6 kB / 0.6163 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2919, allocations: 139.1 kB / 0.6164 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/0.2986, allocations: 3.895 MB / 0.6202 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.2986, allocations: 8 kB / 0.6202 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2986, allocations: 11.94 kB / 0.6202 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2986, allocations: 7.969 kB / 0.6202 GB, free: 15.25 MB / 474.7 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.007797/0.3064, allocations: 5.019 MB / 0.6251 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3064, allocations: 11.25 kB / 0.6252 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.3067, allocations: 107.3 kB / 0.6253 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.3095, allocations: 1.58 MB / 0.6268 GB, free: 8.523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.3096, allocations: 24 kB / 0.6268 GB, free: 8.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.3209, allocations: 9.261 MB / 0.6359 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3209, allocations: 4 kB / 0.6359 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007695/0.3286, allocations: 4.806 MB / 0.6406 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.3288, allocations: 166.3 kB / 0.6407 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3289, allocations: 20 kB / 0.6407 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.3295, allocations: 111.9 kB / 0.6409 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/0.3298, allocations: 200.6 kB / 0.641 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.3298, allocations: 31.98 kB / 0.6411 GB, free: 9.699 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007002/0.3305, allocations: 0.7592 MB / 0.6418 GB, free: 8.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3305, allocations: 0 / 0.6418 GB, free: 8.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008985/0.3314, allocations: 489.4 kB / 0.6423 GB, free: 8.457 MB / 490.7 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.008131/0.3396, allocations: 5.4 MB / 0.6476 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.3434, allocations: 2.53 MB / 0.65 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3434, allocations: 0 / 0.65 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.3456, allocations: 1.552 MB / 0.6515 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.3463, allocations: 114.9 kB / 0.6517 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.3692, allocations: 16.59 MB / 0.6679 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3696, allocations: 0.536 MB / 0.6684 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.3699, allocations: 124.3 kB / 0.6685 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.3704, allocations: 476.3 kB / 0.6689 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/0.3704, allocations: 0 / 0.6689 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.4174, allocations: 38.74 MB / 0.7068 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.092/9.509, allocations: 7.156 kB / 0.7068 GB, free: 6.418 MB / 0.5417 GB " [Timeout remaining time 650] (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: 11.722294434905052] Failed to read output from testmodel.py, exit status != 0: 9.619335206225514 9.627900771 9.413105413 Calling exit ...