Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.002488/0.002488, allocations: 81.5 kB / 19.44 MB, free: 344 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.592/1.592, allocations: 177.1 MB / 199.7 MB, free: 5.82 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.002301/0.002301, allocations: 160.6 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4951/0.4951, allocations: 80.25 MB / 393 MB, free: 2.219 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 489.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.273e-05, allocations: 2.312 kB / 489.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.009112/0.009145, allocations: 5.933 MB / 495 MB, free: 5.965 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005636/0.01478, allocations: 1.846 MB / 496.9 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.0163, allocations: 12 kB / 496.9 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.01705, allocations: 215 kB / 497.1 MB, free: 3.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.01972, allocations: 0.8228 MB / 497.9 MB, free: 3.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.0212, allocations: 0.5756 MB / 498.5 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.02353, allocations: 1.429 MB / 499.9 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.02398, allocations: 188.3 kB / 0.4884 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.02534, allocations: 0.8187 MB / 0.4892 GB, free: 72 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009556/0.02629, allocations: 0.6114 MB / 0.4898 GB, free: 15.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.02649, allocations: 105.8 kB / 0.4899 GB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.02713, allocations: 255.8 kB / 0.4901 GB, free: 15.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.02744, allocations: 290.7 kB / 0.4904 GB, free: 14.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.02799, allocations: 418.6 kB / 0.4908 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.03021, allocations: 1.554 MB / 0.4923 GB, free: 12.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.03022, allocations: 4 kB / 0.4923 GB, free: 12.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03022, allocations: 0 / 0.4923 GB, free: 12.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.03025, allocations: 1.75 kB / 0.4923 GB, free: 12.85 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.009575/0.03982, allocations: 2.648 MB / 0.4949 GB, free: 10.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.03987, allocations: 8.656 kB / 0.4949 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.0451, allocations: 0.9041 MB / 0.4958 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.04673, allocations: 0.7557 MB / 0.4966 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004064/0.04714, allocations: 355 kB / 0.4969 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.0473, allocations: 83.89 kB / 0.497 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.04993, allocations: 1.185 MB / 0.4981 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.04995, allocations: 4 kB / 0.4981 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.05004, allocations: 28 kB / 0.4982 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.05007, allocations: 19.94 kB / 0.4982 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.05224, allocations: 0.8991 MB / 0.4991 GB, free: 5.824 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.00783/0.06007, allocations: 2.982 MB / 0.502 GB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006307/0.06637, allocations: 1.508 MB / 0.5034 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.06781, allocations: 0.5869 MB / 0.504 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.06794, allocations: 20.66 kB / 0.504 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.06799, allocations: 45.98 kB / 0.5041 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.356e-06/0.06799, allocations: 0 / 0.5041 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.02765/0.09564, allocations: 5.938 MB / 0.5099 GB, free: 10.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.0958, allocations: 101.7 kB / 0.51 GB, free: 10.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.09781, allocations: 1.123 MB / 0.5111 GB, free: 9.332 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.09799, allocations: 45.7 kB / 0.5111 GB, free: 9.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005871/0.09857, allocations: 0.5468 MB / 0.5116 GB, free: 8.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.0991, allocations: 345.3 kB / 0.512 GB, free: 8.391 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005858/0.09968, allocations: 288.5 kB / 0.5123 GB, free: 8.102 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004219/0.1001, allocations: 0.5511 MB / 0.5128 GB, free: 7.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.1017, allocations: 0.6357 MB / 0.5134 GB, free: 6.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.1035, allocations: 0.9031 MB / 0.5143 GB, free: 5.934 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004952/0.1084, allocations: 2.365 MB / 0.5166 GB, free: 3.496 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.1085, allocations: 0 / 0.5166 GB, free: 3.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.01277/0.1212, allocations: 3.688 MB / 0.5202 GB, free: 15.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1213, allocations: 4 kB / 0.5202 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1213, allocations: 8 kB / 0.5202 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.1313, allocations: 1.929 MB / 0.5221 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.1327, allocations: 235.7 kB / 0.5223 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.1541, allocations: 8.023 MB / 0.5302 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.1559, allocations: 139.2 kB / 0.5303 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/0.1562, allocations: 51.98 kB / 0.5303 GB, free: 5.27 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.0009272/0.1571, allocations: 307.4 kB / 0.5306 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/0.1585, allocations: 376 kB / 0.531 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.1701, allocations: 3.162 MB / 0.5341 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.1702, allocations: 8 kB / 0.5341 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/0.1702, allocations: 8 kB / 0.5341 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.1702, allocations: 7.922 kB / 0.5341 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.1854, allocations: 4.365 MB / 0.5384 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.1854, allocations: 0 / 0.5384 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.1861, allocations: 115.8 kB / 0.5385 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/0.1966, allocations: 1.994 MB / 0.5404 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002631/0.1968, allocations: 23.98 kB / 0.5404 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/0.2204, allocations: 11.86 MB / 0.552 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2204, allocations: 0 / 0.552 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.2354, allocations: 4.225 MB / 0.5562 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/0.2361, allocations: 142.9 kB / 0.5563 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/0.2365, allocations: 16 kB / 0.5563 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.2377, allocations: 67.94 kB / 0.5564 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006819/0.2384, allocations: 180.7 kB / 0.5565 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.2386, allocations: 27.94 kB / 0.5566 GB, free: 9.965 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001311/0.2399, allocations: 0.7127 MB / 0.5573 GB, free: 9.242 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2399, allocations: 0 / 0.5573 GB, free: 9.242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002014/0.2419, allocations: 435.7 kB / 0.5577 GB, free: 8.816 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.000443/0.2423, allocations: 139 kB / 0.5578 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006712/0.249, allocations: 2.159 MB / 0.5599 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.249, allocations: 0 / 0.5599 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004132/0.2532, allocations: 1.277 MB / 0.5612 GB, free: 5.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.2553, allocations: 413.9 kB / 0.5616 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.2607, allocations: 2.035 MB / 0.5635 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.2614, allocations: 493.8 kB / 0.564 GB, free: 2.172 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004479/0.2619, allocations: 95.12 kB / 0.5641 GB, free: 2.074 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.2622, allocations: 80.47 kB / 0.5642 GB, free: 1.992 MB / 490.7 MB Notification: Performance of SimCode: time 2.785e-06/0.2622, allocations: 0 / 0.5642 GB, free: 1.992 MB / 490.7 MB Notification: Performance of Templates: time 0.04653/0.3087, allocations: 24.49 MB / 0.5881 GB, free: 9.598 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.3233971321024]