Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.0008991/0.0008991, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.8973/0.8973, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001854/0.001854, allocations: 159.5 kB / 256.7 MB, free: 13.36 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.2605/0.2605, allocations: 80.36 MB / 393.5 MB, free: 2.363 MB / 314.7 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: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5562 GB, free: 12.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.907e-05, allocations: 5.375 kB / 0.5562 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004459/0.004478, allocations: 5.809 MB / 0.5619 GB, free: 6.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.007197, allocations: 1.943 MB / 0.5638 GB, free: 4.273 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.007606, allocations: 12 kB / 0.5638 GB, free: 4.262 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.008135, allocations: 233.9 kB / 0.564 GB, free: 4.031 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.009444, allocations: 0.8731 MB / 0.5649 GB, free: 3.156 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.01026, allocations: 0.6375 MB / 0.5655 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01138, allocations: 1.588 MB / 0.567 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.01168, allocations: 214.9 kB / 0.5672 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008628/0.01254, allocations: 0.896 MB / 0.5681 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.01314, allocations: 0.6737 MB / 0.5688 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.01329, allocations: 120 kB / 0.5689 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.01364, allocations: 279.6 kB / 0.5692 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.01385, allocations: 334.5 kB / 0.5695 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.01416, allocations: 454.5 kB / 0.5699 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.01542, allocations: 1.736 MB / 0.5716 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.01542, allocations: 0 / 0.5716 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01542, allocations: 0 / 0.5716 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.01544, allocations: 0 / 0.5716 GB, free: 12.23 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004565/0.02001, allocations: 2.8 MB / 0.5743 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.02004, allocations: 8.031 kB / 0.5743 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.02248, allocations: 0.7952 MB / 0.5751 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.02345, allocations: 0.8307 MB / 0.5759 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.02366, allocations: 337.3 kB / 0.5763 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.02377, allocations: 84 kB / 0.5763 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.02508, allocations: 1.108 MB / 0.5774 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.0251, allocations: 0 / 0.5774 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.02516, allocations: 39.88 kB / 0.5775 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.02518, allocations: 20 kB / 0.5775 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.02643, allocations: 1.009 MB / 0.5785 GB, free: 5.02 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.003874/0.0303, allocations: 2.867 MB / 0.5813 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/0.03418, allocations: 2.027 MB / 0.5832 GB, free: 48 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.03495, allocations: 0.6388 MB / 0.5839 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/0.03502, allocations: 12.98 kB / 0.5839 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009477/0.03597, allocations: 0.8506 MB / 0.5847 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 2.024e-06/0.03597, allocations: 0 / 0.5847 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01431/0.05029, allocations: 6.939 MB / 0.5915 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.05034, allocations: 123.7 kB / 0.5916 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.05125, allocations: 1.058 MB / 0.5926 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.05132, allocations: 45.7 kB / 0.5927 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.05158, allocations: 0.5053 MB / 0.5932 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.05181, allocations: 368.9 kB / 0.5935 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.05212, allocations: 275.5 kB / 0.5938 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.05219, allocations: 305.1 kB / 0.5941 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.0532, allocations: 0.8037 MB / 0.5949 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.05429, allocations: 0.9806 MB / 0.5958 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2163/0.2706, allocations: 5.756 MB / 0.6014 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.2706, allocations: 1.469 kB / 0.6014 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006711/0.2773, allocations: 4.331 MB / 0.6057 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.2773, allocations: 66.08 kB / 0.6057 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2773, allocations: 3.594 kB / 0.6057 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.2801, allocations: 1.509 MB / 0.6072 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.2808, allocations: 291.9 kB / 0.6075 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.2922, allocations: 7.962 MB / 0.6153 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/0.2932, allocations: 193.2 kB / 0.6155 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-05/0.2932, allocations: 60.53 kB / 0.6155 GB, free: 86.95 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: 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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.2937, allocations: 296.3 kB / 0.6158 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2938, allocations: 129.8 kB / 0.6159 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00707/0.3009, allocations: 3.87 MB / 0.6197 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3009, allocations: 10.34 kB / 0.6197 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3009, allocations: 13.59 kB / 0.6197 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.3009, allocations: 6.406 kB / 0.6197 GB, free: 85.7 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.008185/0.3091, allocations: 4.895 MB / 0.6245 GB, free: 84.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3091, allocations: 0.9375 kB / 0.6245 GB, free: 84.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.3094, allocations: 102.5 kB / 0.6246 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.3122, allocations: 1.593 MB / 0.6262 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.3123, allocations: 23.25 kB / 0.6262 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.3231, allocations: 9.182 MB / 0.6351 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3231, allocations: 2.875 kB / 0.6352 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007243/0.3303, allocations: 4.762 MB / 0.6398 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.3305, allocations: 155.7 kB / 0.64 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.3306, allocations: 25.12 kB / 0.64 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.3311, allocations: 112.5 kB / 0.6401 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.3314, allocations: 206.4 kB / 0.6403 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.3315, allocations: 27.25 kB / 0.6403 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005944/0.3321, allocations: 0.7113 MB / 0.641 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3321, allocations: 0 / 0.641 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009847/0.3331, allocations: 483.1 kB / 0.6415 GB, free: 75.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.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.0002214/0.3333, allocations: 132.2 kB / 0.6416 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.3362, allocations: 2.422 MB / 0.644 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3363, allocations: 0 / 0.644 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.3381, allocations: 1.551 MB / 0.6455 GB, free: 72.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.3386, allocations: 116.7 kB / 0.6456 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3407, allocations: 2.227 MB / 0.6478 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3409, allocations: 0.5316 MB / 0.6483 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.3411, allocations: 84.47 kB / 0.6484 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.3411, allocations: 0 / 0.6484 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.01339/0.3545, allocations: 24.19 MB / 0.672 GB, free: 45.56 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.240437866188586] Failed to read output from testmodel.py, exit status != 0: 0.359864242374897 0.36576880500000003 0.34904739900000004 Calling exit ...