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.001087/0.001087, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9729/0.9729, allocations: 177.2 MB / 200 MB, free: 5.547 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.001286/0.001286, allocations: 167.6 kB / 256.6 MB, free: 13.02 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.2927/0.2927, allocations: 83.27 MB / 396.4 MB, free: 15.21 MB / 330.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 2.064e-06/2.064e-06, allocations: 0 / 493.9 MB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.773e-05, allocations: 2.812 kB / 493.9 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007701/0.007729, allocations: 5.97 MB / 499.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.01216, allocations: 1.874 MB / 0.49 GB, free: 15.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009115/0.01307, allocations: 12 kB / 0.49 GB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008493/0.01392, allocations: 214.8 kB / 0.4902 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.01617, allocations: 0.8208 MB / 0.491 GB, free: 14.44 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.01743, allocations: 0.5752 MB / 0.4916 GB, free: 13.87 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.01925, allocations: 1.425 MB / 0.493 GB, free: 12.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.01967, allocations: 188.3 kB / 0.4931 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.02103, allocations: 0.8271 MB / 0.4939 GB, free: 11.42 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.02209, allocations: 0.6153 MB / 0.4945 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.02242, allocations: 104 kB / 0.4946 GB, free: 10.7 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006137/0.02303, allocations: 256.2 kB / 0.4949 GB, free: 10.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.02327, allocations: 295.3 kB / 0.4952 GB, free: 10.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.02375, allocations: 414.6 kB / 0.4956 GB, free: 9.758 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.02534, allocations: 1.129 MB / 0.4967 GB, free: 8.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.02534, allocations: 4.875 kB / 0.4967 GB, free: 8.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02535, allocations: 0 / 0.4967 GB, free: 8.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.08e-05/0.02539, allocations: 0 / 0.4967 GB, free: 8.621 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.007624/0.03301, allocations: 2.591 MB / 0.4992 GB, free: 6.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.03306, allocations: 12.03 kB / 0.4992 GB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.0374, allocations: 0.8959 MB / 0.5001 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.03878, allocations: 0.7205 MB / 0.5008 GB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.03906, allocations: 362.9 kB / 0.5011 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.03922, allocations: 79.95 kB / 0.5012 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.04095, allocations: 0.8178 MB / 0.502 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.04097, allocations: 3.984 kB / 0.502 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/0.04106, allocations: 32 kB / 0.5021 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.04108, allocations: 19.94 kB / 0.5021 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.04218, allocations: 455.5 kB / 0.5025 GB, free: 2.516 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.004977/0.04716, allocations: 2.578 MB / 0.505 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.05108, allocations: 1.189 MB / 0.5062 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.05167, allocations: 305.2 kB / 0.5065 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/0.05176, allocations: 20.66 kB / 0.5065 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.05179, allocations: 45.98 kB / 0.5065 GB, free: 14.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 4.308e-06/0.0518, allocations: 0 / 0.5065 GB, free: 14.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.01743/0.06923, allocations: 4.732 MB / 0.5112 GB, free: 9.516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.06935, allocations: 101.7 kB / 0.5113 GB, free: 9.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.07115, allocations: 0.9001 MB / 0.5121 GB, free: 8.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.0713, allocations: 41.7 kB / 0.5122 GB, free: 8.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.07171, allocations: 0.5078 MB / 0.5127 GB, free: 7.914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.07209, allocations: 325.3 kB / 0.513 GB, free: 7.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.07257, allocations: 248.5 kB / 0.5132 GB, free: 7.344 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.07276, allocations: 0.5277 MB / 0.5137 GB, free: 6.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.07356, allocations: 351.1 kB / 0.5141 GB, free: 6.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.07446, allocations: 0.5673 MB / 0.5146 GB, free: 5.824 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.07639, allocations: 1.416 MB / 0.516 GB, free: 4.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.0764, allocations: 0 / 0.516 GB, free: 4.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005587/0.08199, allocations: 2.809 MB / 0.5187 GB, free: 1.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.08201, allocations: 8 kB / 0.5188 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.08203, allocations: 4 kB / 0.5188 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/0.08623, allocations: 1.558 MB / 0.5203 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.08681, allocations: 235.7 kB / 0.5205 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.09331, allocations: 4.306 MB / 0.5247 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.09406, allocations: 143.2 kB / 0.5248 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.09413, allocations: 43.98 kB / 0.5249 GB, free: 11.08 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.0003758/0.0945, allocations: 248 kB / 0.5251 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000802/0.0953, allocations: 320.3 kB / 0.5254 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.09984, allocations: 2.365 MB / 0.5277 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.09985, allocations: 12 kB / 0.5278 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.09986, allocations: 8 kB / 0.5278 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.09986, allocations: 7.922 kB / 0.5278 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/0.1056, allocations: 3.334 MB / 0.531 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1056, allocations: 4 kB / 0.531 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.1059, allocations: 107.8 kB / 0.5311 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004648/0.1105, allocations: 1.603 MB / 0.5327 GB, free: 2.992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/0.1106, allocations: 16 kB / 0.5327 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00854/0.1192, allocations: 8.526 MB / 0.541 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1192, allocations: 7.984 kB / 0.541 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.125, allocations: 2.909 MB / 0.5439 GB, free: 7.191 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.1253, allocations: 146.9 kB / 0.544 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.1255, allocations: 16 kB / 0.544 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.1259, allocations: 63.94 kB / 0.5441 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.1263, allocations: 168.7 kB / 0.5443 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.1263, allocations: 31.92 kB / 0.5443 GB, free: 6.773 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004956/0.1268, allocations: 0.5643 MB / 0.5448 GB, free: 6.199 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1268, allocations: 0 / 0.5448 GB, free: 6.199 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009932/0.1278, allocations: 443.7 kB / 0.5453 GB, free: 5.766 MB / 474.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.0002631/0.1281, allocations: 143 kB / 0.5454 GB, free: 5.613 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.1309, allocations: 1.558 MB / 0.5469 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1309, allocations: 320 / 0.5469 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.1324, allocations: 0.9918 MB / 0.5479 GB, free: 3.012 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.1332, allocations: 389.9 kB / 0.5483 GB, free: 2.613 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.136, allocations: 1.881 MB / 0.5501 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.1362, allocations: 217.1 kB / 0.5503 GB, free: 476 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000194/0.1364, allocations: 103.1 kB / 0.5504 GB, free: 368 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.1366, allocations: 76.48 kB / 0.5505 GB, free: 288 kB / 474.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1366, allocations: 0 / 0.5505 GB, free: 288 kB / 474.7 MB Notification: Performance of Templates: time 0.02711/0.1637, allocations: 25.24 MB / 0.5751 GB, free: 7.137 MB / 0.4948 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: 4.270740573294461]