Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.001407/0.001407, allocations: 88.72 kB / 19.44 MB, free: 352 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.49/1.49, allocations: 177.1 MB / 199.7 MB, free: 5.812 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.001715/0.001715, allocations: 180 kB / 256.3 MB, free: 13.17 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.4585/0.4585, allocations: 80.38 MB / 393.1 MB, free: 2.141 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 489.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.033e-05, allocations: 4.422 kB / 489.4 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02298/0.02301, allocations: 18.62 MB / 0.4961 GB, free: 9.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.03905, allocations: 4.888 MB / 0.5008 GB, free: 4.199 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007027/0.04608, allocations: 44 kB / 0.5009 GB, free: 4.156 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005109/0.05119, allocations: 0.8904 MB / 0.5018 GB, free: 3.254 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.0612, allocations: 2.37 MB / 0.5041 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006831/0.06804, allocations: 2.054 MB / 0.5061 GB, free: 14.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.08001, allocations: 5.944 MB / 0.5119 GB, free: 8.859 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.08328, allocations: 0.8689 MB / 0.5127 GB, free: 7.938 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009443/0.09273, allocations: 3.35 MB / 0.516 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005244/0.09797, allocations: 2.309 MB / 0.5183 GB, free: 2.262 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00256/0.1005, allocations: 448 kB / 0.5187 GB, free: 1.824 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.1046, allocations: 0.6013 MB / 0.5193 GB, free: 1.223 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002912/0.1075, allocations: 1.19 MB / 0.5204 GB, free: 28 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005174/0.1127, allocations: 1.748 MB / 0.5221 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.1265, allocations: 6.411 MB / 0.5284 GB, free: 7.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1265, allocations: 0 / 0.5284 GB, free: 7.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1265, allocations: 0 / 0.5284 GB, free: 7.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003282/0.1268, allocations: 0 / 0.5284 GB, free: 7.84 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03787/0.1647, allocations: 9.931 MB / 0.5381 GB, free: 13.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1647, allocations: 12.03 kB / 0.5381 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/0.1937, allocations: 4.737 MB / 0.5427 GB, free: 9.062 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007726/0.2015, allocations: 2.692 MB / 0.5454 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001486/0.2029, allocations: 1.036 MB / 0.5464 GB, free: 5.098 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.2047, allocations: 348 kB / 0.5467 GB, free: 4.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.2182, allocations: 4.776 MB / 0.5514 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.027e-05/0.2183, allocations: 0 / 0.5514 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.2188, allocations: 148 kB / 0.5515 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.768e-05/0.2189, allocations: 87.94 kB / 0.5516 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.2307, allocations: 4.261 MB / 0.5558 GB, free: 11.44 MB / 490.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.04495/0.2756, allocations: 13.2 MB / 0.5686 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.2906, allocations: 4.402 MB / 0.5729 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007433/0.298, allocations: 2.519 MB / 0.5754 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/0.2988, allocations: 86.91 kB / 0.5755 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0101/0.3089, allocations: 3.222 MB / 0.5786 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 1.129e-05/0.3089, allocations: 0 / 0.5786 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.5008/0.8097, allocations: 66.74 MB / 0.6438 GB, free: 138 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.8098, allocations: 149.7 kB / 0.644 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.8138, allocations: 3.267 MB / 0.6471 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009871/0.8148, allocations: 89.7 kB / 0.6472 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.8158, allocations: 2.015 MB / 0.6492 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/0.8175, allocations: 1.367 MB / 0.6505 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.8189, allocations: 0.6667 MB / 0.6512 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.8189, allocations: 305.7 kB / 0.6515 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005146/0.824, allocations: 2.663 MB / 0.6541 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005691/0.8297, allocations: 3.291 MB / 0.6573 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07002/0.8998, allocations: 19.31 MB / 0.6761 GB, free: 105 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/0.8998, allocations: 4 kB / 0.6762 GB, free: 105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=539) (initialization): time 0.05555/0.9553, allocations: 17.32 MB / 0.6931 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.9554, allocations: 71.39 kB / 0.6931 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.9554, allocations: 15.94 kB / 0.6932 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04926/1.005, allocations: 10.8 MB / 0.7037 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/1.009, allocations: 0.6709 MB / 0.7044 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08359/1.092, allocations: 33.01 MB / 0.7366 GB, free: 43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/1.099, allocations: 0.629 MB / 0.7372 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.1, allocations: 156 kB / 0.7374 GB, free: 42.3 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002053/1.102, allocations: 0.6623 MB / 0.738 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/1.103, allocations: 0.5907 MB / 0.7386 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05302/1.156, allocations: 16.79 MB / 0.755 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/1.156, allocations: 36 kB / 0.755 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.968e-05/1.156, allocations: 28 kB / 0.755 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001656/1.157, allocations: 21.45 kB / 0.7551 GB, free: 24.1 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.0597/1.216, allocations: 20.07 MB / 0.7747 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/1.216, allocations: 3.938 kB / 0.7747 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.219, allocations: 395.5 kB / 0.775 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05147/1.27, allocations: 10.81 MB / 0.7856 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001137/1.271, allocations: 75.92 kB / 0.7857 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2908/1.562, allocations: 30.88 MB / 0.8158 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.562, allocations: 0 / 0.8158 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0635/1.626, allocations: 20.36 MB / 0.8357 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.627, allocations: 0.5047 MB / 0.8362 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/1.629, allocations: 63.53 kB / 0.8363 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005362/1.635, allocations: 385.4 kB / 0.8366 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003829/1.639, allocations: 0.8146 MB / 0.8374 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006522/1.639, allocations: 94.73 kB / 0.8375 GB, free: 150 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00317/1.642, allocations: 2.127 MB / 0.8396 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.642, allocations: 0 / 0.8396 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007496/1.65, allocations: 1.824 MB / 0.8414 GB, free: 147.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/1.651, allocations: 208.9 kB / 0.8416 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02673/1.678, allocations: 9.021 MB / 0.8504 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.678, allocations: 448 / 0.8504 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02/1.698, allocations: 5.935 MB / 0.8562 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/1.702, allocations: 494.2 kB / 0.8566 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.718, allocations: 8.172 MB / 0.8646 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.72, allocations: 1.944 MB / 0.8665 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001846/1.722, allocations: 383.1 kB / 0.8669 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009834/1.723, allocations: 260.4 kB / 0.8671 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.943e-06/1.723, allocations: 1.203 kB / 0.8671 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1236/1.847, allocations: 99.33 MB / 0.9641 GB, free: 24.37 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.017528860014863]