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.001572/0.001572, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 252.7 MB, free: 14.24 MB / 206.1 MB " [Timeout remaining time 178] 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.001961/0.001961, allocations: 208.1 kB / 309.2 MB, free: 3.109 MB / 238.1 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.6788/0.6788, allocations: 107.3 MB / 473 MB, free: 29.8 MB / 350.1 MB " [Timeout remaining time 179] 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 84.28 kB / 0.6332 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1758, allocations: 80.17 MB / 0.7115 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007554/0.1834, allocations: 5.524 MB / 0.7169 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.1879, allocations: 1.818 MB / 0.7187 GB, free: 144 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1891, allocations: 8 kB / 0.7187 GB, free: 136 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009552/0.1901, allocations: 218.1 kB / 0.7189 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.1931, allocations: 0.8055 MB / 0.7197 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1948, allocations: 0.5626 MB / 0.7203 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.1969, allocations: 1.386 MB / 0.7216 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.1973, allocations: 188.6 kB / 0.7218 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.1982, allocations: 0.6107 MB / 0.7224 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009047/0.1991, allocations: 0.6959 MB / 0.7231 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.1993, allocations: 104 kB / 0.7232 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.1999, allocations: 255.8 kB / 0.7234 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.2001, allocations: 290.7 kB / 0.7237 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.2006, allocations: 0.5011 MB / 0.7242 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.2025, allocations: 1.529 MB / 0.7257 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2025, allocations: 0 / 0.7257 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2025, allocations: 0 / 0.7257 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.2025, allocations: 4 kB / 0.7257 GB, free: 8.973 MB / 0.4981 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.008642/0.2111, allocations: 2.463 MB / 0.7281 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.2112, allocations: 12.02 kB / 0.7281 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.2114, allocations: 122.4 kB / 0.7282 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.2166, allocations: 0.7719 MB / 0.729 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.2184, allocations: 0.7372 MB / 0.7297 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.2188, allocations: 370.9 kB / 0.73 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.219, allocations: 72 kB / 0.7301 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.2215, allocations: 1.176 MB / 0.7313 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2216, allocations: 7.938 kB / 0.7313 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.2216, allocations: 28 kB / 0.7313 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2217, allocations: 16 kB / 0.7313 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.2237, allocations: 0.9498 MB / 0.7322 GB, free: 2.082 MB / 0.4981 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.006336/0.23, allocations: 2.74 MB / 0.7349 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007198/0.2372, allocations: 1.921 MB / 0.7368 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2388, allocations: 0.597 MB / 0.7374 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2389, allocations: 16.64 kB / 0.7374 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.2389, allocations: 43.22 kB / 0.7374 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.2389, allocations: 0 / 0.7374 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.02798/0.2669, allocations: 6.697 MB / 0.744 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.2671, allocations: 93.77 kB / 0.7441 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.2687, allocations: 0.9734 MB / 0.745 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.2689, allocations: 41.7 kB / 0.745 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.2693, allocations: 461.4 kB / 0.7455 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.2697, allocations: 337.2 kB / 0.7458 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/0.2702, allocations: 255.5 kB / 0.7461 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2703, allocations: 305.1 kB / 0.7463 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.2719, allocations: 0.6949 MB / 0.747 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.2736, allocations: 0.9146 MB / 0.7479 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02331/0.2969, allocations: 5.284 MB / 0.7531 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.2969, allocations: 8 kB / 0.7531 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01355/0.3104, allocations: 4.126 MB / 0.7571 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.3105, allocations: 4 kB / 0.7571 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.3105, allocations: 8 kB / 0.7571 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005717/0.3162, allocations: 1.507 MB / 0.7586 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.3175, allocations: 263.6 kB / 0.7588 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.3382, allocations: 7.994 MB / 0.7667 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.3399, allocations: 171.1 kB / 0.7668 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.34, allocations: 63.97 kB / 0.7669 GB, free: 14.12 MB / 0.545 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: 23 * 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 (151): * Single equations (assignments): 150 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006395/0.3406, allocations: 260.3 kB / 0.7671 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.3417, allocations: 345.4 kB / 0.7675 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.3539, allocations: 3.557 MB / 0.7709 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.354, allocations: 15.94 kB / 0.7709 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.354, allocations: 8 kB / 0.771 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/0.354, allocations: 11.97 kB / 0.771 GB, free: 9.895 MB / 0.545 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.01497/0.369, allocations: 4.652 MB / 0.7755 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.369, allocations: 0 / 0.7755 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.3697, allocations: 111.9 kB / 0.7756 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005857/0.3755, allocations: 1.578 MB / 0.7772 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.3757, allocations: 20 kB / 0.7772 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/0.3968, allocations: 10.38 MB / 0.7873 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3968, allocations: 3.938 kB / 0.7873 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.4119, allocations: 4.579 MB / 0.7918 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.4124, allocations: 139 kB / 0.7919 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4126, allocations: 23.92 kB / 0.7919 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.4135, allocations: 87.91 kB / 0.792 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005799/0.4141, allocations: 184.6 kB / 0.7922 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.4142, allocations: 23.98 kB / 0.7922 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009396/0.4151, allocations: 0.6434 MB / 0.7929 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.4151, allocations: 0 / 0.7929 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001466/0.4166, allocations: 447.7 kB / 0.7933 GB, free: 2.641 MB / 0.5606 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.01553/0.4321, allocations: 5.172 MB / 0.7983 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006421/0.4386, allocations: 2.174 MB / 0.8005 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4386, allocations: 0 / 0.8005 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004144/0.4427, allocations: 1.267 MB / 0.8017 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4443, allocations: 339 kB / 0.802 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3722/0.8165, allocations: 14.98 MB / 0.8166 GB, free: 92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.8172, allocations: 494.8 kB / 0.8171 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005308/0.8177, allocations: 102.7 kB / 0.8172 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.8183, allocations: 439.2 kB / 0.8176 GB, free: 91.87 MB / 0.5762 GB Notification: Performance of SimCode: time 2.003e-06/0.8183, allocations: 1 kB / 0.8176 GB, free: 91.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.921, allocations: 34.38 MB / 0.8512 GB, free: 73.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.46, allocations: 3.266 kB / 0.8512 GB, free: 73.08 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --stepSize=0.01 --timeout=50 --tolerance=0.001 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: 19.470617577899247] Failed to read output from testmodel.py, exit status != 0: 15.593425531405956 15.610223481 15.404261654 Calling exit ...