Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.0008123/0.0008123, 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.8383/0.8383, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.001012/0.001012, allocations: 152.6 kB / 256 MB, free: 13.34 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.2548/0.2548, allocations: 80.37 MB / 392.7 MB, free: 2.371 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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.555 GB, free: 12.54 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.104e-05, allocations: 2.281 kB / 0.555 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004551/0.004572, allocations: 5.522 MB / 0.5604 GB, free: 6.992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.007442, allocations: 1.814 MB / 0.5621 GB, free: 5.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.007988, allocations: 8 kB / 0.5622 GB, free: 5.164 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.008444, allocations: 218 kB / 0.5624 GB, free: 4.949 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.009929, allocations: 0.8068 MB / 0.5632 GB, free: 4.141 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.0108, allocations: 0.5867 MB / 0.5637 GB, free: 3.559 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.01203, allocations: 1.416 MB / 0.5651 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.01234, allocations: 192.3 kB / 0.5653 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.0132, allocations: 0.8142 MB / 0.5661 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.01393, allocations: 0.6114 MB / 0.5667 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.01409, allocations: 104 kB / 0.5668 GB, free: 416 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.01449, allocations: 259.6 kB / 0.567 GB, free: 156 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.01465, allocations: 294.7 kB / 0.5673 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.01493, allocations: 418.5 kB / 0.5677 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.01621, allocations: 1.546 MB / 0.5692 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01621, allocations: 0 / 0.5692 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01621, allocations: 4 kB / 0.5692 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.01624, allocations: 4 kB / 0.5692 GB, free: 13.89 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004586/0.02083, allocations: 2.455 MB / 0.5716 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.02087, allocations: 8.031 kB / 0.5716 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.02098, allocations: 122.5 kB / 0.5717 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.02339, allocations: 0.7718 MB / 0.5725 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.02448, allocations: 0.7412 MB / 0.5732 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.02483, allocations: 359 kB / 0.5736 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.02494, allocations: 72 kB / 0.5736 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.02644, allocations: 1.181 MB / 0.5748 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.02646, allocations: 4 kB / 0.5748 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.02652, allocations: 24 kB / 0.5748 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.02653, allocations: 19.94 kB / 0.5748 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.02774, allocations: 0.9498 MB / 0.5758 GB, free: 7.023 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.003727/0.03147, allocations: 2.733 MB / 0.5784 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003688/0.03516, allocations: 1.941 MB / 0.5803 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/0.03598, allocations: 0.5931 MB / 0.5809 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.03606, allocations: 16.66 kB / 0.5809 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.03608, allocations: 39.22 kB / 0.581 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 2.976e-06/0.03608, allocations: 7.875 kB / 0.581 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.01408/0.05016, allocations: 6.693 MB / 0.5875 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.05025, allocations: 101.7 kB / 0.5876 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/0.05125, allocations: 0.9618 MB / 0.5885 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.05141, allocations: 45.7 kB / 0.5886 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.05165, allocations: 465.4 kB / 0.589 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.0519, allocations: 325.3 kB / 0.5893 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.05217, allocations: 251.4 kB / 0.5896 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.05227, allocations: 361.9 kB / 0.5899 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008983/0.05317, allocations: 0.6871 MB / 0.5906 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/0.05412, allocations: 0.8745 MB / 0.5914 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/0.06594, allocations: 5.224 MB / 0.5965 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.06595, allocations: 4 kB / 0.5966 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.187/0.2529, allocations: 4.074 MB / 0.6005 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.2529, allocations: 12.94 kB / 0.6005 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.253, allocations: 2.531 kB / 0.6005 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/0.2557, allocations: 1.523 MB / 0.602 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.2564, allocations: 242.2 kB / 0.6023 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.2671, allocations: 7.978 MB / 0.6101 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.2682, allocations: 173.6 kB / 0.6102 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.2682, allocations: 65.16 kB / 0.6103 GB, free: 89.23 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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): 1 system {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004788/0.2687, allocations: 248.7 kB / 0.6105 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/0.2693, allocations: 349.6 kB / 0.6109 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/0.2758, allocations: 3.556 MB / 0.6143 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2758, allocations: 9.625 kB / 0.6143 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.2758, allocations: 8.328 kB / 0.6143 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.2758, allocations: 4.5 kB / 0.6143 GB, free: 88.12 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.008334/0.2842, allocations: 4.658 MB / 0.6189 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.2842, allocations: 0 / 0.6189 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.2845, allocations: 111.2 kB / 0.619 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.2876, allocations: 1.58 MB / 0.6205 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.2877, allocations: 17.56 kB / 0.6206 GB, free: 86.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.2987, allocations: 10.38 MB / 0.6307 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2987, allocations: 5.156 kB / 0.6307 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00782/0.3065, allocations: 4.579 MB / 0.6352 GB, free: 78.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.3069, allocations: 141.6 kB / 0.6353 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.307, allocations: 19.69 kB / 0.6353 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.3075, allocations: 88.67 kB / 0.6354 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/0.3078, allocations: 184.6 kB / 0.6356 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.3079, allocations: 27.47 kB / 0.6356 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005347/0.3084, allocations: 0.6429 MB / 0.6362 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.3084, allocations: 0 / 0.6362 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001064/0.3095, allocations: 440.2 kB / 0.6367 GB, free: 77.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007282/0.3168, allocations: 5.182 MB / 0.6417 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003205/0.32, allocations: 2.139 MB / 0.6438 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.32, allocations: 4 kB / 0.6438 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.3219, allocations: 1.254 MB / 0.645 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.3228, allocations: 346.7 kB / 0.6454 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.3409, allocations: 14.71 MB / 0.6597 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3411, allocations: 495 kB / 0.6602 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.3414, allocations: 102 kB / 0.6603 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.3417, allocations: 446.1 kB / 0.6607 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/0.3417, allocations: 0 / 0.6607 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.3791, allocations: 34.52 MB / 0.6944 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.832, allocations: 0 / 0.6944 GB, free: 21.93 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.01 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.027763440273702] Failed to read output from testmodel.py, exit status != 0: 8.9333023596555 8.93877809 8.921233297 Calling exit ...