Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.621 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.001595/0.001595, allocations: 188.5 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6076/0.6076, allocations: 92.62 MB / 433 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004001/0.004001, allocations: 87.84 kB / 0.5034 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4299, allocations: 71.39 MB / 0.5731 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01586/0.4458, allocations: 21.93 MB / 0.5945 GB, free: 21.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.4599, allocations: 4.901 MB / 0.5993 GB, free: 17.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007792/0.4677, allocations: 42.38 kB / 0.5993 GB, free: 17.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00542/0.4732, allocations: 0.8825 MB / 0.6002 GB, free: 17.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.4849, allocations: 2.042 MB / 0.6022 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007115/0.492, allocations: 2.068 MB / 0.6042 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.5041, allocations: 5.726 MB / 0.6098 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004063/0.5082, allocations: 1.322 MB / 0.6111 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/0.5148, allocations: 2.334 MB / 0.6134 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007386/0.5223, allocations: 2.97 MB / 0.6163 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003485/0.5258, allocations: 446.5 kB / 0.6167 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.5305, allocations: 0.5853 MB / 0.6172 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003519/0.5341, allocations: 1.161 MB / 0.6184 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009077/0.5432, allocations: 2.624 MB / 0.6209 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.5583, allocations: 6.205 MB / 0.627 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.5583, allocations: 5.281 kB / 0.627 GB, free: 3.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5583, allocations: 0 / 0.627 GB, free: 3.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003974/0.5587, allocations: 0 / 0.627 GB, free: 3.035 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04368/0.6024, allocations: 9.218 MB / 0.636 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.6025, allocations: 12.03 kB / 0.636 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02893/0.6315, allocations: 4.009 MB / 0.6399 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009551/0.6411, allocations: 2.678 MB / 0.6426 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001312/0.6424, allocations: 0.9574 MB / 0.6435 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.6441, allocations: 348 kB / 0.6438 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.656, allocations: 4.735 MB / 0.6484 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/0.6561, allocations: 3.938 kB / 0.6484 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/0.6566, allocations: 140 kB / 0.6486 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.765e-05/0.6567, allocations: 91.92 kB / 0.6487 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009863/0.6666, allocations: 4.259 MB / 0.6528 GB, free: 11.9 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.04578/0.7124, allocations: 18.37 MB / 0.6708 GB, free: 8.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/0.7275, allocations: 5.013 MB / 0.6757 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007576/0.7352, allocations: 2.794 MB / 0.6784 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008804/0.7361, allocations: 66.92 kB / 0.6785 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008924/0.745, allocations: 3.189 MB / 0.6816 GB, free: 13.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 8.436e-06/0.745, allocations: 0 / 0.6816 GB, free: 13.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3181/1.063, allocations: 67.77 MB / 0.7478 GB, free: 9.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.063, allocations: 141.8 kB / 0.7479 GB, free: 9.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005584/1.069, allocations: 3.258 MB / 0.7511 GB, free: 5.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/1.07, allocations: 89.7 kB / 0.7512 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.072, allocations: 1.974 MB / 0.7531 GB, free: 3.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00276/1.075, allocations: 1.321 MB / 0.7544 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/1.077, allocations: 0.6783 MB / 0.755 GB, free: 1.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.077, allocations: 305.1 kB / 0.7553 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006134/1.083, allocations: 2.601 MB / 0.7579 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/1.09, allocations: 3.229 MB / 0.761 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3668/1.456, allocations: 19.07 MB / 0.7796 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-05/1.457, allocations: 5.281 kB / 0.7797 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05958/1.516, allocations: 17.3 MB / 0.7965 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/1.516, allocations: 63.25 kB / 0.7966 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/1.516, allocations: 19.98 kB / 0.7966 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02654/1.543, allocations: 7.167 MB / 0.8036 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/1.547, allocations: 0.6898 MB / 0.8043 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08143/1.628, allocations: 33.34 MB / 0.8369 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/1.635, allocations: 0.6219 MB / 0.8375 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008685/1.636, allocations: 152 kB / 0.8376 GB, free: 131.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00212/1.638, allocations: 0.6761 MB / 0.8383 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/1.64, allocations: 458.3 kB / 0.8387 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05158/1.691, allocations: 16.87 MB / 0.8552 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/1.691, allocations: 36 kB / 0.8552 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-05/1.691, allocations: 28 kB / 0.8552 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/1.691, allocations: 26.92 kB / 0.8553 GB, free: 113 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.06026/1.752, allocations: 21.89 MB / 0.8766 GB, free: 91.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/1.752, allocations: 0 / 0.8766 GB, free: 91.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.754, allocations: 391.5 kB / 0.877 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02406/1.778, allocations: 7.393 MB / 0.8842 GB, free: 83.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/1.78, allocations: 75.98 kB / 0.8843 GB, free: 83.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07135/1.851, allocations: 31.83 MB / 0.9154 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.851, allocations: 3 kB / 0.9154 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05849/1.909, allocations: 20.24 MB / 0.9352 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.911, allocations: 0.5532 MB / 0.9357 GB, free: 30.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/1.913, allocations: 68 kB / 0.9358 GB, free: 30.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004914/1.918, allocations: 383.5 kB / 0.9361 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003047/1.921, allocations: 0.7844 MB / 0.9369 GB, free: 28.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003911/1.921, allocations: 95.98 kB / 0.937 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002966/1.924, allocations: 2.129 MB / 0.9391 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-07/1.924, allocations: 0 / 0.9391 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006189/1.931, allocations: 1.81 MB / 0.9408 GB, free: 24.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005795/1.931, allocations: 199.6 kB / 0.941 GB, free: 24.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02913/1.96, allocations: 9.331 MB / 0.9501 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.96, allocations: 0 / 0.9501 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01922/1.98, allocations: 6.185 MB / 0.9562 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005977/1.986, allocations: 386.9 kB / 0.9565 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/2.005, allocations: 8.136 MB / 0.9645 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/2.008, allocations: 2.451 MB / 0.9669 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/2.011, allocations: 275.4 kB / 0.9671 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/2.011, allocations: 0 / 0.9671 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.4377/2.448, allocations: 88.49 MB / 1.054 GB, free: 156.4 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)