Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001348, allocations: 169.6 kB / 16.07 MB, free: 5.555 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.274/1.274, allocations: 222.8 MB / 239.7 MB, free: 11.89 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.0007976/0.0007976, allocations: 96.53 kB / 290.5 MB, free: 11.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4166/0.4166, allocations: 78.42 MB / 419.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 499.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.258, allocations: 68.76 MB / 0.5545 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.008419/0.2665, allocations: 13.59 MB / 0.5678 GB, free: 6.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.2725, allocations: 3.413 MB / 0.5711 GB, free: 3.164 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.2747, allocations: 31.94 kB / 0.5711 GB, free: 3.133 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.276, allocations: 397.4 kB / 0.5715 GB, free: 2.742 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.2797, allocations: 1.136 MB / 0.5726 GB, free: 1.605 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.2825, allocations: 1.359 MB / 0.574 GB, free: 276 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004001/0.2865, allocations: 3.121 MB / 0.577 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.2876, allocations: 0.6514 MB / 0.5776 GB, free: 12.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.2892, allocations: 1.217 MB / 0.5788 GB, free: 11.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.2908, allocations: 1.644 MB / 0.5804 GB, free: 9.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.2911, allocations: 136 kB / 0.5806 GB, free: 9.438 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006675/0.2918, allocations: 271.8 kB / 0.5808 GB, free: 9.172 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.2922, allocations: 0.5478 MB / 0.5814 GB, free: 8.621 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.2932, allocations: 1.351 MB / 0.5827 GB, free: 7.262 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2955, allocations: 2.666 MB / 0.5853 GB, free: 4.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2955, allocations: 0 / 0.5853 GB, free: 4.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2955, allocations: 0 / 0.5853 GB, free: 4.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.03e-05/0.2956, allocations: 0 / 0.5853 GB, free: 4.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01804/0.3136, allocations: 5.516 MB / 0.5907 GB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3137, allocations: 8.031 kB / 0.5907 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/0.3278, allocations: 2.24 MB / 0.5929 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.3309, allocations: 1.645 MB / 0.5945 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006245/0.3316, allocations: 0.6591 MB / 0.5951 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.3321, allocations: 211.9 kB / 0.5953 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005578/0.3377, allocations: 2.886 MB / 0.5981 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.3378, allocations: 0 / 0.5981 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.338, allocations: 79.94 kB / 0.5982 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.338, allocations: 44 kB / 0.5983 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/0.3433, allocations: 2.67 MB / 0.6009 GB, free: 4.375 MB / 410.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.01648/0.3598, allocations: 9.54 MB / 0.6102 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00995/0.3698, allocations: 4.036 MB / 0.6141 GB, free: 6.262 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.3736, allocations: 1.886 MB / 0.616 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.3739, allocations: 37.95 kB / 0.616 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.374, allocations: 56.56 kB / 0.616 GB, free: 4.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 4.278e-06/0.374, allocations: 0 / 0.616 GB, free: 4.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.1076/0.4815, allocations: 27.32 MB / 0.6427 GB, free: 8.879 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.4817, allocations: 124.8 kB / 0.6428 GB, free: 8.734 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.4842, allocations: 1.996 MB / 0.6448 GB, free: 6.719 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005187/0.4847, allocations: 65.7 kB / 0.6449 GB, free: 6.648 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/0.4855, allocations: 1.081 MB / 0.6459 GB, free: 5.555 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009061/0.4864, allocations: 0.7971 MB / 0.6467 GB, free: 4.746 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.4868, allocations: 255.7 kB / 0.6469 GB, free: 4.488 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.4869, allocations: 305.1 kB / 0.6472 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/0.4907, allocations: 1.864 MB / 0.649 GB, free: 2.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/0.495, allocations: 2.218 MB / 0.6512 GB, free: 16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05353/0.5485, allocations: 13.68 MB / 0.6646 GB, free: 2.176 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.5486, allocations: 0 / 0.6646 GB, free: 2.176 MB / 474.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.03817/0.5867, allocations: 12.14 MB / 0.6764 GB, free: 5.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.587, allocations: 297.6 kB / 0.6767 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.587, allocations: 12 kB / 0.6767 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01695/0.604, allocations: 5.348 MB / 0.6819 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2188/0.8229, allocations: 480.3 kB / 0.6824 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05166/0.8745, allocations: 21.62 MB / 0.7035 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/0.8779, allocations: 430.4 kB / 0.7039 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.8782, allocations: 105.8 kB / 0.704 GB, free: 100 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.8782, allocations: 11.62 kB / 0.704 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03392/0.9121, allocations: 11.82 MB / 0.7156 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.9122, allocations: 11.91 kB / 0.7156 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/0.9277, allocations: 5.35 MB / 0.7208 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.9299, allocations: 471.3 kB / 0.7213 GB, free: 90.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0471/0.977, allocations: 21.62 MB / 0.7424 GB, free: 69.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.9804, allocations: 398.9 kB / 0.7428 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/0.9808, allocations: 104 kB / 0.7428 GB, free: 68.71 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.9819, allocations: 0.5158 MB / 0.7434 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/0.9824, allocations: 272.6 kB / 0.7436 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03272/1.015, allocations: 11.44 MB / 0.7548 GB, free: 56.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/1.015, allocations: 24 kB / 0.7548 GB, free: 56.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/1.015, allocations: 19.94 kB / 0.7548 GB, free: 56.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.277e-05/1.015, allocations: 15.95 kB / 0.7548 GB, free: 56.39 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.03725/1.053, allocations: 14.95 MB / 0.7694 GB, free: 41.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.053, allocations: 0 / 0.7694 GB, free: 41.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.054, allocations: 243.6 kB / 0.7697 GB, free: 41.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01477/1.069, allocations: 5.11 MB / 0.7747 GB, free: 35.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005028/1.069, allocations: 40 kB / 0.7747 GB, free: 35.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04067/1.11, allocations: 18.62 MB / 0.7929 GB, free: 17.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.11, allocations: 4 kB / 0.7929 GB, free: 17.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03737/1.147, allocations: 13.69 MB / 0.8063 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/1.148, allocations: 377.1 kB / 0.8066 GB, free: 3.047 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/1.149, allocations: 43.94 kB / 0.8067 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/1.151, allocations: 255.7 kB / 0.8069 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/1.153, allocations: 0.5371 MB / 0.8074 GB, free: 2.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.153, allocations: 59.98 kB / 0.8075 GB, free: 2.156 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001448/1.154, allocations: 1.294 MB / 0.8088 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.154, allocations: 0 / 0.8088 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004594/1.159, allocations: 1.822 MB / 0.8105 GB, free: 15.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004121/1.159, allocations: 162.7 kB / 0.8107 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03027/1.19, allocations: 10.56 MB / 0.821 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.19, allocations: 1.75 kB / 0.821 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01211/1.202, allocations: 3.887 MB / 0.8248 GB, free: 376 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.204, allocations: 236.3 kB / 0.825 GB, free: 136 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009256/1.213, allocations: 6.079 MB / 0.831 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.215, allocations: 1.733 MB / 0.8327 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/1.216, allocations: 155.4 kB / 0.8328 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/1.216, allocations: 0 / 0.8328 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of Templates: time 0.06785/1.283, allocations: 51.26 MB / 0.8829 GB, free: 4.805 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)