Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008427/0.0008427, allocations: 172.4 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 239.7 MB, free: 11.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.000751, allocations: 88.89 kB / 290.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4155/0.4155, allocations: 78.42 MB / 419.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 8 kB / 499.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2436, allocations: 68.75 MB / 0.5545 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005096/0.2488, allocations: 6.868 MB / 0.5612 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.2517, allocations: 2.001 MB / 0.5632 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.2522, allocations: 15.94 kB / 0.5632 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.2527, allocations: 186.8 kB / 0.5634 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2541, allocations: 0.7198 MB / 0.5641 GB, free: 10.44 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.255, allocations: 0.5871 MB / 0.5646 GB, free: 9.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.2559, allocations: 1.495 MB / 0.5661 GB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.2562, allocations: 297.3 kB / 0.5664 GB, free: 8.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.2567, allocations: 0.5636 MB / 0.5669 GB, free: 7.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.2572, allocations: 0.7425 MB / 0.5677 GB, free: 6.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.2574, allocations: 60 kB / 0.5677 GB, free: 6.684 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.2577, allocations: 199.8 kB / 0.5679 GB, free: 6.488 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.2579, allocations: 250.7 kB / 0.5682 GB, free: 6.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.2582, allocations: 0.6015 MB / 0.5687 GB, free: 5.637 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008777/0.2591, allocations: 1.558 MB / 0.5703 GB, free: 4.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2591, allocations: 4 kB / 0.5703 GB, free: 4.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2591, allocations: 3.938 kB / 0.5703 GB, free: 4.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2591, allocations: 0 / 0.5703 GB, free: 4.066 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006935/0.2661, allocations: 2.427 MB / 0.5726 GB, free: 1.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2661, allocations: 8.031 kB / 0.5726 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.2708, allocations: 0.771 MB / 0.5734 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.272, allocations: 0.8825 MB / 0.5743 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.2723, allocations: 256.2 kB / 0.5745 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.2724, allocations: 91.89 kB / 0.5746 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.2744, allocations: 1.086 MB / 0.5757 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2744, allocations: 0 / 0.5757 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.2745, allocations: 31.98 kB / 0.5757 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2746, allocations: 20 kB / 0.5757 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.2765, allocations: 0.9877 MB / 0.5767 GB, free: 13.34 MB / 394.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.006032/0.2825, allocations: 3.824 MB / 0.5804 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007133/0.2897, allocations: 2.371 MB / 0.5827 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.291, allocations: 0.678 MB / 0.5834 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2911, allocations: 12.94 kB / 0.5834 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.2926, allocations: 0.8255 MB / 0.5842 GB, free: 5.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.545e-06/0.2926, allocations: 0 / 0.5842 GB, free: 5.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.0278/0.3204, allocations: 7.085 MB / 0.5911 GB, free: 14.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.3206, allocations: 111.8 kB / 0.5912 GB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.3222, allocations: 1.087 MB / 0.5923 GB, free: 12.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.3225, allocations: 45.7 kB / 0.5923 GB, free: 12.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.3228, allocations: 496.8 kB / 0.5928 GB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.3232, allocations: 359 kB / 0.5931 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.3234, allocations: 149.6 kB / 0.5933 GB, free: 11.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.3235, allocations: 305.2 kB / 0.5936 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.3251, allocations: 0.7652 MB / 0.5943 GB, free: 10.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.3268, allocations: 0.9381 MB / 0.5952 GB, free: 9.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.023/0.3498, allocations: 5.578 MB / 0.6007 GB, free: 4.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.3499, allocations: 0 / 0.6007 GB, free: 4.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01285/0.3627, allocations: 4.336 MB / 0.6049 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.3628, allocations: 59.41 kB / 0.605 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3629, allocations: 4 kB / 0.605 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/0.3681, allocations: 1.504 MB / 0.6065 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.3697, allocations: 299.6 kB / 0.6067 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.3872, allocations: 7.621 MB / 0.6142 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.3891, allocations: 202.8 kB / 0.6144 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.3894, allocations: 51.98 kB / 0.6144 GB, free: 5.938 MB / 426.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 (166): * Single equations (assignments): 163 * 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.0008369/0.3903, allocations: 308.2 kB / 0.6147 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.3906, allocations: 126.4 kB / 0.6148 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.4034, allocations: 3.877 MB / 0.6186 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/0.4035, allocations: 7.922 kB / 0.6186 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4035, allocations: 4 kB / 0.6186 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.4039, allocations: 223.2 kB / 0.6188 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.4043, allocations: 28 kB / 0.6189 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.4055, allocations: 107.9 kB / 0.619 GB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/0.4066, allocations: 420.2 kB / 0.6194 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006194/0.4128, allocations: 2.221 MB / 0.6215 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004246/0.4171, allocations: 2.273 MB / 0.6238 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001212/0.4183, allocations: 0.5661 MB / 0.6243 GB, free: 11.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001225/0.4196, allocations: 0.7274 MB / 0.625 GB, free: 10.94 MB / 442.7 MB Notification: Performance of Backend: time 3.8e-07/0.4196, allocations: 0 / 0.625 GB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00574/0.4253, allocations: 2.083 MB / 0.6271 GB, free: 8.816 MB / 442.7 MB Notification: Performance of SimCode: time 0.003916/0.4293, allocations: 3.318 MB / 0.6303 GB, free: 5.434 MB / 442.7 MB Notification: Performance of Templates: time 0.03249/0.4618, allocations: 20.15 MB / 0.65 GB, free: 1.297 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)