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.00185/0.00185, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.438/1.438, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.00158/0.00158, allocations: 210.2 kB / 309.2 MB, free: 3.141 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.561/0.561, allocations: 101.3 MB / 467 MB, free: 10.33 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.003718/0.003718, allocations: 83.88 kB / 0.6244 GB, free: 12.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4906, allocations: 78.62 MB / 0.7012 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006442/0.497, allocations: 6.295 MB / 0.7074 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.5013, allocations: 1.928 MB / 0.7092 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5023, allocations: 9.062 kB / 0.7093 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.503, allocations: 215.6 kB / 0.7095 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.5054, allocations: 0.8059 MB / 0.7102 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.507, allocations: 0.5905 MB / 0.7108 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.509, allocations: 1.386 MB / 0.7122 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.5094, allocations: 202.5 kB / 0.7124 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.5103, allocations: 0.6117 MB / 0.713 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008632/0.5112, allocations: 0.7715 MB / 0.7137 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.5113, allocations: 103.4 kB / 0.7138 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.5118, allocations: 254.5 kB / 0.7141 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.512, allocations: 288.5 kB / 0.7143 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.5125, allocations: 0.6127 MB / 0.7149 GB, free: 268 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.5147, allocations: 1.513 MB / 0.7164 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5147, allocations: 0 / 0.7164 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.985e-06/0.5147, allocations: 8.5 kB / 0.7164 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.5147, allocations: 0 / 0.7164 GB, free: 15.56 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.009371/0.5241, allocations: 2.47 MB / 0.7188 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.5241, allocations: 10.5 kB / 0.7188 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.5243, allocations: 123.7 kB / 0.719 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/0.5299, allocations: 0.7705 MB / 0.7197 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.5322, allocations: 0.7375 MB / 0.7204 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/0.5327, allocations: 364.8 kB / 0.7208 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.533, allocations: 74.81 kB / 0.7209 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.5357, allocations: 1.176 MB / 0.722 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5357, allocations: 0 / 0.722 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.5358, allocations: 25.88 kB / 0.722 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.5359, allocations: 17.22 kB / 0.722 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.5381, allocations: 0.9559 MB / 0.723 GB, free: 12.53 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.007485/0.5456, allocations: 3.514 MB / 0.7264 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007882/0.5534, allocations: 1.927 MB / 0.7283 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.555, allocations: 0.5994 MB / 0.7289 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5551, allocations: 17.47 kB / 0.7289 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.5552, allocations: 46.58 kB / 0.7289 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 3.016e-06/0.5552, allocations: 1.406 kB / 0.7289 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.02922/0.5844, allocations: 6.699 MB / 0.7355 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.5845, allocations: 93.83 kB / 0.7356 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.5862, allocations: 0.9614 MB / 0.7365 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003279/0.5866, allocations: 45.36 kB / 0.7366 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.587, allocations: 467.3 kB / 0.737 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.5876, allocations: 339.2 kB / 0.7373 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/0.5881, allocations: 260.3 kB / 0.7376 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5883, allocations: 302.5 kB / 0.7379 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.5899, allocations: 0.6915 MB / 0.7385 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.5918, allocations: 0.9131 MB / 0.7394 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02485/0.6166, allocations: 5.278 MB / 0.7446 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.6166, allocations: 2.094 kB / 0.7446 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01403/0.6307, allocations: 4.125 MB / 0.7486 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.6307, allocations: 11.81 kB / 0.7486 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.6307, allocations: 4.5 kB / 0.7486 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005757/0.6365, allocations: 1.519 MB / 0.7501 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.6378, allocations: 255.6 kB / 0.7504 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/0.659, allocations: 8.176 MB / 0.7583 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.6609, allocations: 175.1 kB / 0.7585 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.6611, allocations: 59.97 kB / 0.7586 GB, free: 5.145 MB / 0.5137 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.000714/0.6618, allocations: 266.6 kB / 0.7588 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.663, allocations: 341.5 kB / 0.7591 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.6756, allocations: 3.557 MB / 0.7626 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.6757, allocations: 12 kB / 0.7626 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.6757, allocations: 4 kB / 0.7626 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.6757, allocations: 7.984 kB / 0.7626 GB, free: 0.9336 MB / 0.5137 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.01632/0.692, allocations: 5.083 MB / 0.7676 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.692, allocations: 0 / 0.7676 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.6928, allocations: 103.9 kB / 0.7677 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.6987, allocations: 1.59 MB / 0.7693 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/0.6989, allocations: 16 kB / 0.7693 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/0.7216, allocations: 10.55 MB / 0.7796 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7216, allocations: 3.938 kB / 0.7796 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/0.7376, allocations: 4.594 MB / 0.7841 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.7382, allocations: 139.1 kB / 0.7842 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/0.7387, allocations: 23.97 kB / 0.7842 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.7399, allocations: 87.91 kB / 0.7843 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/0.7405, allocations: 176.7 kB / 0.7845 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.7406, allocations: 31.98 kB / 0.7845 GB, free: 10.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001045/0.7417, allocations: 0.6395 MB / 0.7851 GB, free: 9.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7417, allocations: 0 / 0.7851 GB, free: 9.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001524/0.7432, allocations: 443.7 kB / 0.7856 GB, free: 9.031 MB / 0.545 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.01614/0.7593, allocations: 5.188 MB / 0.7906 GB, free: 3.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006666/0.766, allocations: 2.15 MB / 0.7927 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.766, allocations: 0 / 0.7927 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004321/0.7703, allocations: 1.263 MB / 0.794 GB, free: 360 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.7721, allocations: 350.7 kB / 0.7943 GB, free: 0 / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/0.8133, allocations: 15 MB / 0.8089 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/0.8142, allocations: 1.081 MB / 0.81 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004729/0.8146, allocations: 103.3 kB / 0.8101 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.8153, allocations: 447.2 kB / 0.8105 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of SimCode: time 1.193e-06/0.8153, allocations: 0 / 0.8105 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08377/0.8991, allocations: 32.51 MB / 0.8423 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.62/19.51, allocations: 7.453 kB / 0.8423 GB, free: 14.69 MB / 0.6075 GB " [Timeout remaining time 640] (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: 23.079126222990453] Failed to read output from testmodel.py, exit status != 0: 19.651973889907822 19.667371456 19.149194711 Calling exit ...