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.001128/0.001128, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9522/0.9522, allocations: 177.1 MB / 200.3 MB, free: 4.836 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.00129/0.00129, allocations: 159.6 kB / 257 MB, free: 12.64 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.3833/0.3833, allocations: 80.22 MB / 340.5 MB, free: 8.965 MB / 314.7 MB " [Timeout remaining time 180] 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.643e-06/1.643e-06, allocations: 0 / 383.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.628e-05, allocations: 2.312 kB / 383.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.00678/0.006806, allocations: 5.823 MB / 389.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.01014, allocations: 1.947 MB / 391.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.01044, allocations: 12 kB / 391.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.01078, allocations: 218 kB / 391.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.01193, allocations: 0.827 MB / 392.7 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.01262, allocations: 0.5883 MB / 393.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009202/0.01354, allocations: 1.416 MB / 394.7 MB, free: 3.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.01379, allocations: 198.3 kB / 394.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.01443, allocations: 0.822 MB / 395.7 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.01493, allocations: 0.623 MB / 396.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.01504, allocations: 108 kB / 396.4 MB, free: 1.867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.01533, allocations: 251.7 kB / 396.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.01549, allocations: 294.7 kB / 396.9 MB, free: 1.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.01574, allocations: 418.6 kB / 397.3 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01675, allocations: 1.132 MB / 398.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01675, allocations: 0 / 398.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01676, allocations: 0 / 398.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.01676, allocations: 0 / 398.5 MB, free: 15.79 MB / 378.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.003638/0.0204, allocations: 2.478 MB / 401 MB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.02043, allocations: 8.031 kB / 401 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.02283, allocations: 0.9481 MB / 401.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.02342, allocations: 0.5381 MB / 402.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.0236, allocations: 355 kB / 402.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.02369, allocations: 76 kB / 402.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.02446, allocations: 0.7373 MB / 403.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.02448, allocations: 3.938 kB / 403.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.02453, allocations: 32 kB / 403.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.02455, allocations: 19.94 kB / 403.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.02496, allocations: 292.9 kB / 403.9 MB, free: 10.14 MB / 378.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.002773/0.02773, allocations: 1.796 MB / 405.7 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.02966, allocations: 1.048 MB / 406.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.02989, allocations: 211.6 kB / 407 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.02996, allocations: 20.64 kB / 407 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.02998, allocations: 43.22 kB / 407.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.084e-06/0.02999, allocations: 4 kB / 407.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.009284/0.03927, allocations: 4.379 MB / 411.4 MB, free: 2.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.03933, allocations: 105.6 kB / 411.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.04012, allocations: 0.7781 MB / 412.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.04018, allocations: 45.7 kB / 412.4 MB, free: 1.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.04034, allocations: 339.2 kB / 412.7 MB, free: 1.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.04051, allocations: 329.2 kB / 413 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.04074, allocations: 242.7 kB / 413.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.04083, allocations: 361.8 kB / 413.6 MB, free: 324 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.04122, allocations: 291.2 kB / 413.9 MB, free: 32 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.0417, allocations: 476.9 kB / 414.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.04306, allocations: 1.26 MB / 415.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.04307, allocations: 0 / 415.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004215/0.04728, allocations: 2.487 MB / 418.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.0473, allocations: 4 kB / 418.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.04731, allocations: 4 kB / 418.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003671/0.05098, allocations: 1.495 MB / 419.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.05149, allocations: 239.6 kB / 419.8 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.05596, allocations: 3.334 MB / 423.2 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.05656, allocations: 143.2 kB / 423.3 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.05661, allocations: 39.98 kB / 423.4 MB, free: 6.355 MB / 394.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.0003306/0.05694, allocations: 190.7 kB / 423.5 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/0.05733, allocations: 238.6 kB / 423.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.061, allocations: 2.103 MB / 425.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.061, allocations: 8 kB / 425.9 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.06101, allocations: 8 kB / 425.9 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.06102, allocations: 3.984 kB / 425.9 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004941/0.06596, allocations: 2.714 MB / 428.6 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/0.06597, allocations: 4 kB / 428.6 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.06624, allocations: 107.8 kB / 428.7 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003767/0.07, allocations: 1.555 MB / 430.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.07004, allocations: 19.98 kB / 430.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.07533, allocations: 6.177 MB / 436.5 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.07533, allocations: 0 / 436.5 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.07986, allocations: 2.328 MB / 438.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.08001, allocations: 107.1 kB / 438.9 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.0801, allocations: 16 kB / 438.9 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.08046, allocations: 67.94 kB / 439 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.08072, allocations: 168.7 kB / 439.2 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.08075, allocations: 19.98 kB / 439.2 MB, free: 6.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002789/0.08103, allocations: 403.9 kB / 439.6 MB, free: 5.789 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08103, allocations: 4 kB / 439.6 MB, free: 5.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008235/0.08186, allocations: 435.6 kB / 440 MB, free: 5.359 MB / 410.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.0001915/0.08205, allocations: 112.3 kB / 440.1 MB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.08421, allocations: 1.364 MB / 441.5 MB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.08422, allocations: 12 kB / 441.5 MB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.08538, allocations: 0.8301 MB / 442.3 MB, free: 2.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.08597, allocations: 334.5 kB / 442.6 MB, free: 2.652 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.08819, allocations: 1.829 MB / 444.5 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.08834, allocations: 221.1 kB / 444.7 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.08852, allocations: 99.12 kB / 444.8 MB, free: 456 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.08873, allocations: 167.3 kB / 444.9 MB, free: 288 kB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.08873, allocations: 0 / 444.9 MB, free: 288 kB / 410.7 MB Notification: Performance of Templates: time 0.1565/0.2453, allocations: 23.98 MB / 468.9 MB, free: 52.45 MB / 410.7 MB " [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: 3.6200435259379447]