Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0007233/0.0007233, 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.8637/0.8637, allocations: 177.1 MB / 199.4 MB, free: 5.906 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.001137/0.001137, allocations: 164.6 kB / 256 MB, free: 13.31 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.2561/0.2561, allocations: 80.36 MB / 392.7 MB, free: 2.363 MB / 314.7 MB " [Timeout remaining time 180] 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.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5551 GB, free: 12.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.93e-05, allocations: 2.281 kB / 0.5551 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.2042/0.2042, allocations: 18.39 MB / 0.573 GB, free: 13.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00962/0.2138, allocations: 4.825 MB / 0.5777 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/0.218, allocations: 43.41 kB / 0.5778 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003436/0.2214, allocations: 0.8918 MB / 0.5787 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.2293, allocations: 2.343 MB / 0.5809 GB, free: 9.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.2339, allocations: 2.07 MB / 0.583 GB, free: 8.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00859/0.2425, allocations: 5.856 MB / 0.5887 GB, free: 5.008 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.2446, allocations: 0.8787 MB / 0.5895 GB, free: 4.523 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007613/0.2522, allocations: 3.306 MB / 0.5928 GB, free: 3.008 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.2565, allocations: 2.263 MB / 0.595 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.2583, allocations: 436.7 kB / 0.5954 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.2617, allocations: 0.6004 MB / 0.596 GB, free: 2.156 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.2632, allocations: 1.162 MB / 0.5971 GB, free: 1.312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.2666, allocations: 1.727 MB / 0.5988 GB, free: 248 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007296/0.2739, allocations: 6.319 MB / 0.605 GB, free: 11.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2739, allocations: 0 / 0.605 GB, free: 11.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2739, allocations: 4 kB / 0.605 GB, free: 11.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002852/0.2741, allocations: 5 kB / 0.605 GB, free: 11.61 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02042/0.2946, allocations: 9.836 MB / 0.6146 GB, free: 5.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2946, allocations: 16.03 kB / 0.6146 GB, free: 5.645 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004843/0.2951, allocations: 484.8 kB / 0.6151 GB, free: 5.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.3087, allocations: 4.055 MB / 0.619 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005008/0.3137, allocations: 2.563 MB / 0.6215 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008349/0.3146, allocations: 1.036 MB / 0.6225 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.3157, allocations: 348 kB / 0.6229 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.3236, allocations: 4.752 MB / 0.6275 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.3236, allocations: 0 / 0.6275 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.3239, allocations: 136 kB / 0.6276 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.324, allocations: 87.75 kB / 0.6277 GB, free: 7.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007092/0.3311, allocations: 4.245 MB / 0.6319 GB, free: 3.652 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 preOpt removeSimpleEquations (simulation): time 0.0248/0.3559, allocations: 13.41 MB / 0.645 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00737/0.3632, allocations: 4.361 MB / 0.6492 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/0.3675, allocations: 2.499 MB / 0.6517 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.3679, allocations: 54.95 kB / 0.6517 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004685/0.3726, allocations: 3.198 MB / 0.6548 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 7.053e-06/0.3726, allocations: 0 / 0.6548 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.1568/0.5294, allocations: 67.98 MB / 0.7212 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.5295, allocations: 145.8 kB / 0.7214 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/0.5333, allocations: 3.245 MB / 0.7245 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008896/0.5342, allocations: 89.7 kB / 0.7246 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.5352, allocations: 2.001 MB / 0.7266 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/0.5371, allocations: 1.351 MB / 0.7279 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.5382, allocations: 0.6667 MB / 0.7286 GB, free: 15.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.5383, allocations: 305.1 kB / 0.7288 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.5419, allocations: 2.635 MB / 0.7314 GB, free: 12.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/0.5467, allocations: 3.259 MB / 0.7346 GB, free: 9.41 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04004/0.5867, allocations: 18.97 MB / 0.7531 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.5867, allocations: 8 kB / 0.7531 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.03189/0.6186, allocations: 16.88 MB / 0.7696 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.6187, allocations: 63.41 kB / 0.7697 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.6187, allocations: 16 kB / 0.7697 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/0.6333, allocations: 7.221 MB / 0.7767 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.6355, allocations: 0.6631 MB / 0.7774 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2591/0.8945, allocations: 32.8 MB / 0.8094 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/0.8987, allocations: 0.6289 MB / 0.81 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006944/0.8994, allocations: 157.1 kB / 0.8102 GB, free: 196.1 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002013/0.9014, allocations: 0.6606 MB / 0.8108 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.9025, allocations: 477.8 kB / 0.8113 GB, free: 196 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03245/0.935, allocations: 16.75 MB / 0.8276 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/0.935, allocations: 36.59 kB / 0.8277 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-05/0.9351, allocations: 28.06 kB / 0.8277 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-05/0.9352, allocations: 22.03 kB / 0.8277 GB, free: 194.8 MB / 0.6355 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.03667/0.9718, allocations: 20.37 MB / 0.8476 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.9718, allocations: 3.688 kB / 0.8476 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.9732, allocations: 394.2 kB / 0.848 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01317/0.9864, allocations: 7.361 MB / 0.8552 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007704/0.9872, allocations: 71.84 kB / 0.8553 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04304/1.03, allocations: 30.79 MB / 0.8853 GB, free: 160 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.03, allocations: 0 / 0.8853 GB, free: 160 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03217/1.062, allocations: 20.14 MB / 0.905 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.064, allocations: 0.5091 MB / 0.9055 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009698/1.065, allocations: 64 kB / 0.9056 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.067, allocations: 375.6 kB / 0.9059 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0021/1.07, allocations: 0.8192 MB / 0.9067 GB, free: 138 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.07, allocations: 95.73 kB / 0.9068 GB, free: 137.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001926/1.072, allocations: 2.113 MB / 0.9089 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.21e-07/1.072, allocations: 4 kB / 0.9089 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004637/1.076, allocations: 1.803 MB / 0.9106 GB, free: 133.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03252/1.109, allocations: 20.81 MB / 0.931 GB, free: 113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01447/1.123, allocations: 8.948 MB / 0.9397 GB, free: 104 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.123, allocations: 4 kB / 0.9397 GB, free: 104 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/1.134, allocations: 5.891 MB / 0.9455 GB, free: 98.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.137, allocations: 389.7 kB / 0.9458 GB, free: 97.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08766/1.225, allocations: 58.15 MB / 1.003 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.226, allocations: 1.931 MB / 1.004 GB, free: 36.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001124/1.227, allocations: 383.1 kB / 1.005 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.229, allocations: 2.019 MB / 1.007 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of SimCode: time 2.054e-06/1.229, allocations: 0 / 1.007 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3249/1.554, allocations: 138.3 MB / 1.142 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.54, allocations: 8 kB / 1.142 GB, free: 161.2 MB / 0.6511 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.95374550949782] Failed to read output from testmodel.py, exit status != 0: 14.683258203789592 14.689818614 14.414266134 Calling exit ...