Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009719/0.0009721, allocations: 174.6 kB / 16.08 MB, free: 5.723 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.267/1.267, allocations: 222.9 MB / 239.7 MB, free: 10.19 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.0008099/0.0008099, allocations: 99.97 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4227/0.4227, allocations: 78.42 MB / 419.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2436, allocations: 68.76 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004913/0.2485, allocations: 6.849 MB / 0.5612 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.2514, allocations: 2.013 MB / 0.5632 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.2519, allocations: 15.94 kB / 0.5632 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.2524, allocations: 190.8 kB / 0.5634 GB, free: 11.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.2537, allocations: 0.707 MB / 0.5641 GB, free: 10.41 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.0009464/0.2547, allocations: 0.5914 MB / 0.5646 GB, free: 9.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.2555, allocations: 1.495 MB / 0.5661 GB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.2559, allocations: 289.3 kB / 0.5664 GB, free: 8.027 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.2563, allocations: 0.5598 MB / 0.5669 GB, free: 7.465 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.2568, allocations: 0.7464 MB / 0.5676 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.257, allocations: 60 kB / 0.5677 GB, free: 6.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.2573, allocations: 195.8 kB / 0.5679 GB, free: 6.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.2575, allocations: 254.7 kB / 0.5681 GB, free: 6.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.2578, allocations: 0.6015 MB / 0.5687 GB, free: 5.609 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008705/0.2587, allocations: 1.555 MB / 0.5702 GB, free: 4.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2587, allocations: 8 kB / 0.5702 GB, free: 4.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2587, allocations: 3.938 kB / 0.5703 GB, free: 4.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2587, allocations: 0 / 0.5703 GB, free: 4.039 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.007073/0.2658, allocations: 2.427 MB / 0.5726 GB, free: 1.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2658, allocations: 8.031 kB / 0.5726 GB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004784/0.2706, allocations: 0.771 MB / 0.5734 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.272, allocations: 0.8825 MB / 0.5742 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.2722, allocations: 264.2 kB / 0.5745 GB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.2724, allocations: 83.91 kB / 0.5746 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.2744, allocations: 1.09 MB / 0.5756 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2744, allocations: 0 / 0.5756 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.748e-05/0.2745, allocations: 28 kB / 0.5757 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.2746, allocations: 20 kB / 0.5757 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.2765, allocations: 0.9877 MB / 0.5767 GB, free: 13.31 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.006164/0.2827, allocations: 3.827 MB / 0.5804 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007357/0.2901, allocations: 2.371 MB / 0.5827 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.2914, allocations: 0.6776 MB / 0.5834 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.2915, allocations: 16.97 kB / 0.5834 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.2931, allocations: 0.8197 MB / 0.5842 GB, free: 5.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.866e-06/0.2931, allocations: 0 / 0.5842 GB, free: 5.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02703/0.3201, allocations: 7.085 MB / 0.5911 GB, free: 14.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.3202, allocations: 111.8 kB / 0.5912 GB, free: 14.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.322, allocations: 1.087 MB / 0.5923 GB, free: 12.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.3221, allocations: 45.7 kB / 0.5923 GB, free: 12.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.3226, allocations: 492.8 kB / 0.5928 GB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/0.323, allocations: 359 kB / 0.5931 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.3233, allocations: 149.6 kB / 0.5933 GB, free: 11.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3234, allocations: 301.1 kB / 0.5936 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.3251, allocations: 0.7729 MB / 0.5943 GB, free: 10.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.3269, allocations: 0.9419 MB / 0.5952 GB, free: 9.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02307/0.35, allocations: 5.574 MB / 0.6007 GB, free: 4.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.35, allocations: 4 kB / 0.6007 GB, free: 4.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01375/0.3638, allocations: 4.332 MB / 0.6049 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.3639, allocations: 63.39 kB / 0.605 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3639, allocations: 4 kB / 0.605 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005497/0.3694, allocations: 1.511 MB / 0.6065 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.3709, allocations: 291.6 kB / 0.6067 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/0.3886, allocations: 7.625 MB / 0.6142 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.3904, allocations: 202.8 kB / 0.6144 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.3906, allocations: 55.97 kB / 0.6144 GB, free: 5.902 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.0006078/0.3912, allocations: 300.3 kB / 0.6147 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.3915, allocations: 126.4 kB / 0.6148 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.4044, allocations: 3.873 MB / 0.6186 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.4044, allocations: 7.922 kB / 0.6186 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4044, allocations: 4 kB / 0.6186 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.4048, allocations: 223.2 kB / 0.6188 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.4051, allocations: 23.98 kB / 0.6189 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.4062, allocations: 115.9 kB / 0.619 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009955/0.4072, allocations: 416.2 kB / 0.6194 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005901/0.4131, allocations: 2.228 MB / 0.6215 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004107/0.4172, allocations: 2.273 MB / 0.6238 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001221/0.4185, allocations: 0.5661 MB / 0.6243 GB, free: 11.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.4195, allocations: 0.7274 MB / 0.625 GB, free: 10.91 MB / 442.7 MB Notification: Performance of Backend: time 6.02e-07/0.4195, allocations: 0 / 0.625 GB, free: 10.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.425, allocations: 2.082 MB / 0.6271 GB, free: 8.785 MB / 442.7 MB Notification: Performance of SimCode: time 0.003737/0.4288, allocations: 3.31 MB / 0.6303 GB, free: 5.41 MB / 442.7 MB Notification: Performance of Templates: time 0.03093/0.4597, allocations: 20.15 MB / 0.65 GB, free: 1.262 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)