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.001874/0.001874, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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 1.549/1.549, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 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.002125/0.002125, allocations: 176.5 kB / 256.3 MB, free: 13.15 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.4987/0.4987, allocations: 80.38 MB / 393.1 MB, free: 2.129 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_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.312e-06/1.312e-06, allocations: 0 / 489.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.048e-05, allocations: 6.422 kB / 489.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.008402/0.008432, allocations: 5.928 MB / 495.2 MB, free: 5.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.0132, allocations: 1.854 MB / 497 MB, free: 4.027 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.01391, allocations: 16.69 kB / 497.1 MB, free: 4.012 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.01448, allocations: 206.1 kB / 497.3 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.01678, allocations: 0.8199 MB / 498.1 MB, free: 2.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.01817, allocations: 0.5827 MB / 498.7 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.02012, allocations: 1.414 MB / 0.4884 GB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.02051, allocations: 192.2 kB / 0.4885 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.02178, allocations: 0.822 MB / 0.4893 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009249/0.02271, allocations: 0.6126 MB / 0.4899 GB, free: 15.36 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.0229, allocations: 104 kB / 0.49 GB, free: 15.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.02348, allocations: 251.8 kB / 0.4903 GB, free: 15.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.02379, allocations: 298.6 kB / 0.4906 GB, free: 14.72 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.0243, allocations: 420 kB / 0.491 GB, free: 14.31 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.02637, allocations: 1.545 MB / 0.4925 GB, free: 12.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.02638, allocations: 4 kB / 0.4925 GB, free: 12.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02638, allocations: 0.875 kB / 0.4925 GB, free: 12.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.0264, allocations: 0 / 0.4925 GB, free: 12.76 MB / 426.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.009621/0.03602, allocations: 2.657 MB / 0.4951 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.03606, allocations: 8.031 kB / 0.4951 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005636/0.04169, allocations: 0.8959 MB / 0.496 GB, free: 9.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.04353, allocations: 0.7634 MB / 0.4967 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.04396, allocations: 355 kB / 0.497 GB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.04416, allocations: 79.95 kB / 0.4971 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.04693, allocations: 1.179 MB / 0.4983 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.04696, allocations: 3.938 kB / 0.4983 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.04705, allocations: 28 kB / 0.4983 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.04707, allocations: 23.94 kB / 0.4983 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.04932, allocations: 0.8953 MB / 0.4992 GB, free: 5.742 MB / 426.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.007392/0.05672, allocations: 2.982 MB / 0.5021 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006201/0.06292, allocations: 1.514 MB / 0.5036 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.06434, allocations: 0.587 MB / 0.5042 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.06447, allocations: 24.58 kB / 0.5042 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.06452, allocations: 49.98 kB / 0.5042 GB, free: 476 kB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.036e-06/0.06452, allocations: 0 / 0.5042 GB, free: 476 kB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02705/0.09157, allocations: 5.938 MB / 0.51 GB, free: 10.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.0917, allocations: 105.6 kB / 0.5101 GB, free: 10.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.09343, allocations: 1.119 MB / 0.5112 GB, free: 9.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.09359, allocations: 45.7 kB / 0.5113 GB, free: 9.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.09412, allocations: 0.5508 MB / 0.5118 GB, free: 8.633 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.09455, allocations: 345.3 kB / 0.5121 GB, free: 8.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/0.09509, allocations: 280.5 kB / 0.5124 GB, free: 8.012 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003314/0.09542, allocations: 0.5589 MB / 0.5129 GB, free: 7.445 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.09692, allocations: 0.6396 MB / 0.5136 GB, free: 6.805 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.09888, allocations: 0.8915 MB / 0.5144 GB, free: 5.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/0.1037, allocations: 2.369 MB / 0.5168 GB, free: 3.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1038, allocations: 4 kB / 0.5168 GB, free: 3.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.01293/0.1167, allocations: 3.688 MB / 0.5204 GB, free: 15.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.1167, allocations: 8 kB / 0.5204 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.1167, allocations: 4 kB / 0.5204 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.1271, allocations: 1.929 MB / 0.5223 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.1284, allocations: 239.6 kB / 0.5225 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.1496, allocations: 8.014 MB / 0.5303 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.1513, allocations: 147.2 kB / 0.5305 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.1515, allocations: 51.97 kB / 0.5305 GB, free: 5.172 MB / 458.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.0006688/0.1522, allocations: 293.5 kB / 0.5308 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.1534, allocations: 384.2 kB / 0.5311 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.1651, allocations: 3.154 MB / 0.5342 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.1651, allocations: 8 kB / 0.5342 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.1651, allocations: 11.98 kB / 0.5342 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.1651, allocations: 7.922 kB / 0.5343 GB, free: 1.289 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.1799, allocations: 4.353 MB / 0.5385 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.1799, allocations: 0 / 0.5385 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.1806, allocations: 115.8 kB / 0.5386 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/0.1909, allocations: 2.001 MB / 0.5406 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/0.1911, allocations: 27.97 kB / 0.5406 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/0.214, allocations: 11.85 MB / 0.5522 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.214, allocations: 4 kB / 0.5522 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.2284, allocations: 4.229 MB / 0.5563 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.2288, allocations: 138.9 kB / 0.5564 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.229, allocations: 24 kB / 0.5565 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/0.2299, allocations: 63.94 kB / 0.5565 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/0.2305, allocations: 184.6 kB / 0.5567 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.2306, allocations: 23.94 kB / 0.5567 GB, free: 9.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.2316, allocations: 0.7166 MB / 0.5574 GB, free: 9.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2316, allocations: 0 / 0.5574 GB, free: 9.145 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001338/0.233, allocations: 427.7 kB / 0.5578 GB, free: 8.727 MB / 490.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.0002949/0.2333, allocations: 143.1 kB / 0.558 GB, free: 8.574 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006193/0.2395, allocations: 2.171 MB / 0.5601 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2395, allocations: 0 / 0.5601 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004065/0.2435, allocations: 1.266 MB / 0.5613 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.2451, allocations: 413.7 kB / 0.5617 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.2495, allocations: 2.039 MB / 0.5637 GB, free: 2.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.25, allocations: 493.8 kB / 0.5642 GB, free: 2.074 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.2504, allocations: 95.12 kB / 0.5643 GB, free: 1.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.2506, allocations: 76.47 kB / 0.5643 GB, free: 1.898 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2506, allocations: 0 / 0.5643 GB, free: 1.898 MB / 490.7 MB Notification: Performance of Templates: time 0.04338/0.294, allocations: 24.49 MB / 0.5883 GB, free: 9.5 MB / 0.5105 GB " [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: 7.157352864043787]