Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009723/0.0009723, allocations: 107.4 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 222.9 MB / 238.8 MB, free: 4.742 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 196.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4286/0.4286, allocations: 78.53 MB / 417.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 76.2 kB / 496.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 68.17 MB / 0.5517 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2068/0.32, allocations: 6.807 MB / 0.5583 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.3236, allocations: 1.997 MB / 0.5603 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.3243, allocations: 10.97 kB / 0.5603 GB, free: 36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.3249, allocations: 190.1 kB / 0.5605 GB, free: 36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.3264, allocations: 0.7027 MB / 0.5612 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.3274, allocations: 0.5871 MB / 0.5617 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3285, allocations: 1.489 MB / 0.5632 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.3289, allocations: 285 kB / 0.5635 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.3294, allocations: 0.5937 MB / 0.564 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.3301, allocations: 0.7802 MB / 0.5648 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3302, allocations: 70.19 kB / 0.5649 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.3307, allocations: 204.8 kB / 0.5651 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3309, allocations: 284 kB / 0.5653 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.3313, allocations: 0.6248 MB / 0.566 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009833/0.3323, allocations: 1.592 MB / 0.5675 GB, free: 34.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3323, allocations: 6.844 kB / 0.5675 GB, free: 34.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3323, allocations: 0.625 kB / 0.5675 GB, free: 34.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3323, allocations: 2.344 kB / 0.5675 GB, free: 34.6 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007642/0.34, allocations: 2.691 MB / 0.5701 GB, free: 33.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.34, allocations: 8.312 kB / 0.5702 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.3446, allocations: 0.7745 MB / 0.5709 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.3459, allocations: 0.8849 MB / 0.5718 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.3462, allocations: 261.9 kB / 0.572 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.3463, allocations: 83.66 kB / 0.5721 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.3482, allocations: 1.09 MB / 0.5732 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.3482, allocations: 0.625 kB / 0.5732 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/0.3483, allocations: 31.31 kB / 0.5732 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3483, allocations: 18.38 kB / 0.5732 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.35, allocations: 0.9852 MB / 0.5742 GB, free: 32.82 MB / 430.1 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.005409/0.3554, allocations: 3.814 MB / 0.5779 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00645/0.3619, allocations: 2.371 MB / 0.5802 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.3632, allocations: 0.6718 MB / 0.5809 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3633, allocations: 16.06 kB / 0.5809 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.3648, allocations: 0.8246 MB / 0.5817 GB, free: 29.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.565e-06/0.3648, allocations: 1.125 kB / 0.5817 GB, free: 29.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02745/0.3922, allocations: 7.183 MB / 0.5887 GB, free: 28.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3923, allocations: 125.6 kB / 0.5888 GB, free: 28.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.3939, allocations: 1.091 MB / 0.5899 GB, free: 27.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.3941, allocations: 42.27 kB / 0.5899 GB, free: 27.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.3944, allocations: 493.9 kB / 0.5904 GB, free: 27.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.3948, allocations: 354 kB / 0.5907 GB, free: 27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005289/0.3953, allocations: 283.2 kB / 0.591 GB, free: 26.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.3953, allocations: 306.9 kB / 0.5913 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.397, allocations: 0.7549 MB / 0.592 GB, free: 26.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.3987, allocations: 0.9214 MB / 0.5929 GB, free: 25.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/0.421, allocations: 5.551 MB / 0.5984 GB, free: 24.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.421, allocations: 1.219 kB / 0.5984 GB, free: 24.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01311/0.4342, allocations: 4.361 MB / 0.6026 GB, free: 22.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.4342, allocations: 63.45 kB / 0.6027 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4343, allocations: 3.469 kB / 0.6027 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005478/0.4398, allocations: 1.59 MB / 0.6042 GB, free: 22.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.4411, allocations: 278.1 kB / 0.6045 GB, free: 22.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.4581, allocations: 7.846 MB / 0.6122 GB, free: 17.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.4599, allocations: 198.7 kB / 0.6124 GB, free: 17.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.4601, allocations: 55.97 kB / 0.6124 GB, free: 17.06 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006237/0.4607, allocations: 301.9 kB / 0.6127 GB, free: 16.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.461, allocations: 128.3 kB / 0.6128 GB, free: 16.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.472, allocations: 3.865 MB / 0.6166 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.472, allocations: 12 kB / 0.6166 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.472, allocations: 4 kB / 0.6166 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.472, allocations: 7.984 kB / 0.6166 GB, free: 12.71 MB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.01218/0.4842, allocations: 5.455 MB / 0.6219 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4843, allocations: 0 / 0.6219 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.4848, allocations: 103.9 kB / 0.622 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004682/0.4894, allocations: 1.611 MB / 0.6236 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.4896, allocations: 20.66 kB / 0.6236 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/0.5062, allocations: 8.795 MB / 0.6322 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5062, allocations: 0 / 0.6322 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.5198, allocations: 4.725 MB / 0.6368 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.5203, allocations: 220 kB / 0.637 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.5206, allocations: 20 kB / 0.6371 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.5218, allocations: 107.9 kB / 0.6372 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/0.5224, allocations: 192.7 kB / 0.6374 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/0.5225, allocations: 24.03 kB / 0.6374 GB, free: 7.008 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.5236, allocations: 0.7409 MB / 0.6381 GB, free: 6.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5237, allocations: 4 kB / 0.6381 GB, free: 6.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001539/0.5252, allocations: 471.5 kB / 0.6386 GB, free: 5.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/0.5255, allocations: 132.4 kB / 0.6387 GB, free: 5.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00591/0.5314, allocations: 2.516 MB / 0.6411 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5314, allocations: 0 / 0.6411 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004168/0.5356, allocations: 1.6 MB / 0.6427 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.5369, allocations: 115.4 kB / 0.6428 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.5415, allocations: 2.626 MB / 0.6454 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.5422, allocations: 1.124 MB / 0.6465 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.5427, allocations: 119.8 kB / 0.6466 GB, free: 13.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.543, allocations: 75.42 kB / 0.6467 GB, free: 13.4 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.543, allocations: 0 / 0.6467 GB, free: 13.4 MB / 462.1 MB Notification: Performance of Templates: time 0.0317/0.5747, allocations: 21.57 MB / 0.6677 GB, free: 8.047 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)