Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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 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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000803/0.0008029, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.452/1.452, allocations: 223.3 MB / 239.4 MB, free: 5.438 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.001235/0.001235, allocations: 172.5 kB / 290.6 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5728/0.5728, allocations: 91.92 MB / 433.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004225, allocations: 15.98 kB / 0.5048 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.447, allocations: 72.46 MB / 0.5755 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01568/0.4628, allocations: 22.42 MB / 0.5974 GB, free: 20.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.4766, allocations: 5.106 MB / 0.6024 GB, free: 16.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006972/0.4836, allocations: 54.22 kB / 0.6025 GB, free: 16.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.4876, allocations: 0.6726 MB / 0.6031 GB, free: 16.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009848/0.4974, allocations: 1.722 MB / 0.6048 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006144/0.5036, allocations: 1.913 MB / 0.6067 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009976/0.5136, allocations: 5.423 MB / 0.612 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.5172, allocations: 1.133 MB / 0.6131 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.5221, allocations: 2.057 MB / 0.6151 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005608/0.5278, allocations: 2.682 MB / 0.6177 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.5302, allocations: 234.8 kB / 0.6179 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.534, allocations: 374 kB / 0.6183 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002583/0.5366, allocations: 0.9323 MB / 0.6192 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006793/0.5434, allocations: 2.391 MB / 0.6215 GB, free: 6.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.556, allocations: 5.839 MB / 0.6272 GB, free: 4.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5561, allocations: 0 / 0.6272 GB, free: 4.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5561, allocations: 0 / 0.6272 GB, free: 4.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004189/0.5565, allocations: 1.281 kB / 0.6272 GB, free: 4.242 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03588/0.5924, allocations: 8.407 MB / 0.6354 GB, free: 264 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5925, allocations: 13.41 kB / 0.6354 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/0.6204, allocations: 4.042 MB / 0.6394 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008647/0.6291, allocations: 2.654 MB / 0.642 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/0.6302, allocations: 0.9964 MB / 0.643 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.6315, allocations: 347.9 kB / 0.6433 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.643, allocations: 4.989 MB / 0.6482 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.307e-05/0.6431, allocations: 3.938 kB / 0.6482 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.6435, allocations: 136 kB / 0.6483 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/0.6436, allocations: 84 kB / 0.6484 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.6542, allocations: 4.505 MB / 0.6528 GB, free: 14.38 MB / 462.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.0386/0.6929, allocations: 18.8 MB / 0.6711 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/0.707, allocations: 5.746 MB / 0.6767 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007503/0.7145, allocations: 3.043 MB / 0.6797 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.7151, allocations: 66.91 kB / 0.6798 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008293/0.7234, allocations: 3.427 MB / 0.6831 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 6.933e-06/0.7235, allocations: 3.938 kB / 0.6831 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3324/1.056, allocations: 82.05 MB / 0.7632 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.056, allocations: 149.8 kB / 0.7634 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006496/1.063, allocations: 3.23 MB / 0.7665 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001427/1.064, allocations: 89.7 kB / 0.7666 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.066, allocations: 1.963 MB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002931/1.069, allocations: 1.317 MB / 0.7698 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007436/1.07, allocations: 338.7 kB / 0.7702 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.07, allocations: 301.1 kB / 0.7704 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006812/1.077, allocations: 2.843 MB / 0.7732 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.379/1.456, allocations: 3.462 MB / 0.7766 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07751/1.533, allocations: 20.64 MB / 0.7968 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.923e-05/1.533, allocations: 3.094 kB / 0.7968 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06602/1.599, allocations: 20.72 MB / 0.817 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/1.6, allocations: 69.3 kB / 0.8171 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/1.6, allocations: 15.69 kB / 0.8171 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02683/1.626, allocations: 8.557 MB / 0.8254 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/1.63, allocations: 0.6602 MB / 0.8261 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08228/1.712, allocations: 35.29 MB / 0.8605 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007134/1.719, allocations: 0.7508 MB / 0.8613 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008794/1.72, allocations: 152 kB / 0.8614 GB, free: 110.6 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.00231/1.723, allocations: 0.6678 MB / 0.8621 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.724, allocations: 458.3 kB / 0.8625 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05681/1.781, allocations: 20.64 MB / 0.8827 GB, free: 88.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/1.781, allocations: 36 kB / 0.8827 GB, free: 88.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/1.781, allocations: 35.92 kB / 0.8827 GB, free: 88.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/1.781, allocations: 23.88 kB / 0.8827 GB, free: 88.65 MB / 0.5606 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.06691/1.848, allocations: 25.62 MB / 0.9078 GB, free: 62.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/1.848, allocations: 4 kB / 0.9078 GB, free: 62.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/1.851, allocations: 387.5 kB / 0.9081 GB, free: 62.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02633/1.877, allocations: 8.714 MB / 0.9166 GB, free: 53.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001319/1.878, allocations: 71.92 kB / 0.9167 GB, free: 53.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07559/1.954, allocations: 32.69 MB / 0.9486 GB, free: 20.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.954, allocations: 3.938 kB / 0.9486 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06744/2.021, allocations: 24.26 MB / 0.9723 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/2.024, allocations: 0.5571 MB / 0.9729 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002473/2.026, allocations: 64 kB / 0.9729 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006822/2.033, allocations: 0.5035 MB / 0.9734 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004339/2.038, allocations: 0.7685 MB / 0.9742 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000844/2.039, allocations: 95.97 kB / 0.9743 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00425/2.043, allocations: 2.113 MB / 0.9763 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/2.043, allocations: 192 / 0.9763 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009191/2.052, allocations: 1.801 MB / 0.9781 GB, free: 6.555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.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.001231/2.053, allocations: 200.6 kB / 0.9783 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03089/2.084, allocations: 10.27 MB / 0.9883 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/2.084, allocations: 0 / 0.9883 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02348/2.108, allocations: 7.074 MB / 0.9952 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/2.114, allocations: 379.1 kB / 0.9956 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3226/2.437, allocations: 9.746 MB / 1.005 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/2.439, allocations: 2.443 MB / 1.007 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001825/2.44, allocations: 376.6 kB / 1.008 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/2.441, allocations: 237 kB / 1.008 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.773e-06/2.441, allocations: 0 / 1.008 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1296/2.571, allocations: 82.83 MB / 1.089 GB, free: 130.7 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)