Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001427/0.001427, allocations: 93.06 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.9462/0.9462, allocations: 177.2 MB / 200 MB, free: 5.535 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.001207/0.001207, allocations: 160.6 kB / 256.6 MB, free: 12.98 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.2779/0.2779, allocations: 80.25 MB / 393.4 MB, free: 2.133 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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 489.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.855e-05, allocations: 2.312 kB / 489.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005449/0.005468, allocations: 6.307 MB / 496.1 MB, free: 5.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.008398, allocations: 1.966 MB / 498.1 MB, free: 3.285 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.008789, allocations: 8.5 kB / 498.1 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.009345, allocations: 243.3 kB / 498.3 MB, free: 3.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.01066, allocations: 0.8638 MB / 499.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.01147, allocations: 0.6539 MB / 499.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.01256, allocations: 1.58 MB / 0.4897 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.01285, allocations: 210.9 kB / 0.4899 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007606/0.01361, allocations: 0.9043 MB / 0.4908 GB, free: 14.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/0.01419, allocations: 0.6753 MB / 0.4914 GB, free: 14.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.01434, allocations: 124 kB / 0.4915 GB, free: 14.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.01467, allocations: 263.8 kB / 0.4918 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.01487, allocations: 338.5 kB / 0.4921 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.01518, allocations: 455.8 kB / 0.4926 GB, free: 12.99 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.01614, allocations: 1.226 MB / 0.4938 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01614, allocations: 3.938 kB / 0.4938 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01614, allocations: 0 / 0.4938 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.01615, allocations: 1.375 kB / 0.4938 GB, free: 11.75 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004468/0.02062, allocations: 2.914 MB / 0.4966 GB, free: 8.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.02065, allocations: 8.594 kB / 0.4966 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00271/0.02336, allocations: 0.9288 MB / 0.4975 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.02424, allocations: 0.803 MB / 0.4983 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.02443, allocations: 329.3 kB / 0.4986 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.02454, allocations: 83.94 kB / 0.4987 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/0.02549, allocations: 0.754 MB / 0.4994 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.0255, allocations: 4 kB / 0.4994 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.02557, allocations: 35.94 kB / 0.4995 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.02558, allocations: 20 kB / 0.4995 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.02633, allocations: 497.3 kB / 0.5 GB, free: 5.242 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.003397/0.02972, allocations: 2.729 MB / 0.5026 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.03221, allocations: 1.251 MB / 0.5039 GB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.03264, allocations: 343.9 kB / 0.5042 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.03272, allocations: 20.98 kB / 0.5042 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.03332, allocations: 0.526 MB / 0.5047 GB, free: 236 kB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 1.903e-06/0.03332, allocations: 0 / 0.5047 GB, free: 236 kB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01129/0.04462, allocations: 4.997 MB / 0.5096 GB, free: 11.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.04466, allocations: 115.8 kB / 0.5097 GB, free: 11.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/0.04545, allocations: 0.9794 MB / 0.5107 GB, free: 10.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.04551, allocations: 41.7 kB / 0.5107 GB, free: 10.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.0458, allocations: 0.5509 MB / 0.5112 GB, free: 9.457 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.04602, allocations: 368.9 kB / 0.5116 GB, free: 9.094 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.04633, allocations: 289.1 kB / 0.5119 GB, free: 8.805 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.04643, allocations: 488.7 kB / 0.5123 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.047, allocations: 435.2 kB / 0.5127 GB, free: 7.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.04766, allocations: 0.6366 MB / 0.5134 GB, free: 7.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.04945, allocations: 1.637 MB / 0.515 GB, free: 5.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.04946, allocations: 0 / 0.515 GB, free: 5.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005179/0.05463, allocations: 3.043 MB / 0.5179 GB, free: 2.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.05468, allocations: 62.38 kB / 0.518 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.05469, allocations: 4 kB / 0.518 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/0.05876, allocations: 1.53 MB / 0.5195 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.05947, allocations: 287.6 kB / 0.5198 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.06573, allocations: 4.361 MB / 0.524 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.06648, allocations: 167.1 kB / 0.5242 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/0.06656, allocations: 55.97 kB / 0.5242 GB, free: 11.78 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: 13 * 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 (161): * Single equations (assignments): 158 * 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): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.06691, allocations: 275.1 kB / 0.5245 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.06708, allocations: 159.2 kB / 0.5247 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/0.07184, allocations: 2.58 MB / 0.5272 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.07185, allocations: 12 kB / 0.5272 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.07185, allocations: 4 kB / 0.5272 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.07186, allocations: 3.984 kB / 0.5272 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.07777, allocations: 3.659 MB / 0.5308 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.07778, allocations: 4 kB / 0.5308 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.07817, allocations: 95.89 kB / 0.5309 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/0.08225, allocations: 1.634 MB / 0.5325 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.08233, allocations: 20 kB / 0.5325 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/0.0895, allocations: 6.413 MB / 0.5387 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0895, allocations: 0 / 0.5387 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.09514, allocations: 3.05 MB / 0.5417 GB, free: 9.438 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.09534, allocations: 139 kB / 0.5419 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.09544, allocations: 16 kB / 0.5419 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.0959, allocations: 75.92 kB / 0.5419 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.09623, allocations: 200.6 kB / 0.5421 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.09628, allocations: 24 kB / 0.5422 GB, free: 8.992 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000524/0.0968, allocations: 0.6172 MB / 0.5428 GB, free: 8.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0968, allocations: 4 kB / 0.5428 GB, free: 8.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009726/0.09777, allocations: 475.5 kB / 0.5432 GB, free: 7.898 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/0.09801, allocations: 143 kB / 0.5434 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.1005, allocations: 1.786 MB / 0.5451 GB, free: 5.898 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1005, allocations: 192 / 0.5451 GB, free: 5.898 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.1021, allocations: 1.301 MB / 0.5464 GB, free: 4.535 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.1026, allocations: 133.6 kB / 0.5465 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.1055, allocations: 2.051 MB / 0.5485 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.1057, allocations: 245.5 kB / 0.5487 GB, free: 2.055 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.1059, allocations: 120 kB / 0.5488 GB, free: 1.934 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1061, allocations: 76.48 kB / 0.5489 GB, free: 1.859 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1061, allocations: 0 / 0.5489 GB, free: 1.859 MB / 474.7 MB Notification: Performance of Templates: time 0.02688/0.133, allocations: 26.86 MB / 0.5751 GB, free: 7.133 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1784924529492855]