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.000954/0.000954, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.9338/0.9338, allocations: 177.1 MB / 201 MB, free: 5.727 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.00123/0.00123, allocations: 152.7 kB / 257.7 MB, free: 13 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.3276/0.3276, allocations: 83.27 MB / 397.5 MB, free: 92 kB / 362.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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 495.1 MB, free: 58.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.69e-05, allocations: 2.312 kB / 495.1 MB, free: 58.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.00856/0.008577, allocations: 5.835 MB / 0.4892 GB, free: 52.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.01431, allocations: 1.858 MB / 0.491 GB, free: 50.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.0147, allocations: 17.12 kB / 0.4911 GB, free: 50.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.01506, allocations: 214.1 kB / 0.4913 GB, free: 50.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.01938, allocations: 0.8306 MB / 0.4921 GB, free: 49.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.0202, allocations: 0.5667 MB / 0.4926 GB, free: 49.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.02115, allocations: 1.436 MB / 0.494 GB, free: 47.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.02141, allocations: 188.8 kB / 0.4942 GB, free: 47.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.02365, allocations: 0.8277 MB / 0.495 GB, free: 46.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.02406, allocations: 0.6152 MB / 0.4956 GB, free: 46.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.441e-05/0.02416, allocations: 104 kB / 0.4957 GB, free: 46.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.02442, allocations: 255.8 kB / 0.496 GB, free: 45.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.02454, allocations: 295.5 kB / 0.4962 GB, free: 45.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.02472, allocations: 414.6 kB / 0.4966 GB, free: 45.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.02543, allocations: 1.133 MB / 0.4977 GB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.02543, allocations: 0 / 0.4977 GB, free: 44.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02543, allocations: 0 / 0.4977 GB, free: 44.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.02545, allocations: 5.562 kB / 0.4977 GB, free: 44.01 MB / 410.7 MB 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.003763/0.02921, allocations: 2.602 MB / 0.5003 GB, free: 41.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.02924, allocations: 8.031 kB / 0.5003 GB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.03168, allocations: 0.9017 MB / 0.5012 GB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.03225, allocations: 0.6947 MB / 0.5019 GB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.03239, allocations: 359 kB / 0.5022 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.03248, allocations: 80.72 kB / 0.5023 GB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.03321, allocations: 0.7487 MB / 0.503 GB, free: 38.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.03323, allocations: 0 / 0.503 GB, free: 38.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.03328, allocations: 24.5 kB / 0.503 GB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.03329, allocations: 25.11 kB / 0.5031 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.03372, allocations: 360.3 kB / 0.5034 GB, free: 38.1 MB / 410.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.002385/0.03611, allocations: 2.44 MB / 0.5058 GB, free: 35.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.0383, allocations: 1.122 MB / 0.5069 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.03854, allocations: 255.8 kB / 0.5071 GB, free: 34.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.0386, allocations: 20.59 kB / 0.5071 GB, free: 34.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.03862, allocations: 50.03 kB / 0.5072 GB, free: 34.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 1.924e-06/0.03862, allocations: 0 / 0.5072 GB, free: 34.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.009898/0.04852, allocations: 4.544 MB / 0.5116 GB, free: 29.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.04856, allocations: 101.7 kB / 0.5117 GB, free: 29.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.04896, allocations: 0.8683 MB / 0.5126 GB, free: 28.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.04901, allocations: 45.7 kB / 0.5126 GB, free: 28.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.04917, allocations: 0.5233 MB / 0.5131 GB, free: 28.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.0493, allocations: 329.2 kB / 0.5134 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.04954, allocations: 256.4 kB / 0.5137 GB, free: 27.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.04959, allocations: 0.5315 MB / 0.5142 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.04996, allocations: 319.1 kB / 0.5145 GB, free: 26.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.05038, allocations: 0.5516 MB / 0.515 GB, free: 25.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.05158, allocations: 1.33 MB / 0.5163 GB, free: 24.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.05158, allocations: 4 kB / 0.5163 GB, free: 24.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004464/0.05604, allocations: 2.723 MB / 0.519 GB, free: 21.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.05606, allocations: 8 kB / 0.519 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.05606, allocations: 4 kB / 0.519 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/0.05982, allocations: 1.531 MB / 0.5205 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.06033, allocations: 243.6 kB / 0.5207 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/0.06529, allocations: 4.15 MB / 0.5248 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.06583, allocations: 147.2 kB / 0.5249 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.06589, allocations: 39.97 kB / 0.525 GB, free: 15.57 MB / 410.7 MB 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 (139): * Single equations (assignments): 138 * 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.06613, allocations: 233.4 kB / 0.5252 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.06655, allocations: 315.9 kB / 0.5255 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.07046, allocations: 2.244 MB / 0.5277 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.07047, allocations: 12 kB / 0.5277 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.07047, allocations: 4 kB / 0.5277 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.07048, allocations: 11.97 kB / 0.5277 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.07518, allocations: 3.084 MB / 0.5307 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.07519, allocations: 4 kB / 0.5307 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.07545, allocations: 107.9 kB / 0.5308 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/0.07921, allocations: 1.584 MB / 0.5324 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.07926, allocations: 23.98 kB / 0.5324 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005348/0.08461, allocations: 8.363 MB / 0.5406 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.08461, allocations: 0 / 0.5406 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.08914, allocations: 2.57 MB / 0.5431 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.08926, allocations: 135 kB / 0.5432 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.08936, allocations: 20 kB / 0.5432 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.08976, allocations: 71.94 kB / 0.5433 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.09003, allocations: 168.7 kB / 0.5435 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.09007, allocations: 16 kB / 0.5435 GB, free: 12.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000323/0.09039, allocations: 0.5289 MB / 0.544 GB, free: 11.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0904, allocations: 0 / 0.544 GB, free: 11.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007457/0.09114, allocations: 427.7 kB / 0.5444 GB, free: 11.25 MB / 426.7 MB 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.0001856/0.09133, allocations: 151 kB / 0.5445 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.0934, allocations: 1.479 MB / 0.546 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.09341, allocations: 0 / 0.546 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.0948, allocations: 0.9457 MB / 0.5469 GB, free: 8.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.09551, allocations: 389.8 kB / 0.5473 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.09777, allocations: 1.882 MB / 0.5491 GB, free: 6.297 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.0979, allocations: 221.1 kB / 0.5493 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.09809, allocations: 99.12 kB / 0.5494 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.09832, allocations: 178.2 kB / 0.5496 GB, free: 5.785 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.09832, allocations: 0 / 0.5496 GB, free: 5.785 MB / 426.7 MB Notification: Performance of Templates: time 0.02481/0.1231, allocations: 26.16 MB / 0.5751 GB, free: 11.73 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.394110131077468]