Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009589/0.0009589, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.314/1.314, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008392/0.0008393, allocations: 84.09 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4321/0.4321, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.31e-05, allocations: 4 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3722, allocations: 69.34 MB / 0.548 GB, free: 20.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4943, allocations: 101 MB / 0.6466 GB, free: 15.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.4945, allocations: 79.95 kB / 0.6467 GB, free: 15.49 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5566/1.051, allocations: 98.58 MB / 0.743 GB, free: 64.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.051, allocations: 0 / 0.743 GB, free: 64.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00025/1.051, allocations: 84 kB / 0.743 GB, free: 64.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01704/1.068, allocations: 5.723 MB / 0.7486 GB, free: 59.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.069, allocations: 11.97 kB / 0.7486 GB, free: 59.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/1.085, allocations: 2.779 MB / 0.7514 GB, free: 56.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/1.091, allocations: 2.259 MB / 0.7536 GB, free: 53.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008767/1.092, allocations: 0.9556 MB / 0.7545 GB, free: 52.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/1.093, allocations: 340 kB / 0.7548 GB, free: 52.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007425/1.101, allocations: 4.084 MB / 0.7588 GB, free: 48.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/1.101, allocations: 0 / 0.7588 GB, free: 48.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/1.101, allocations: 140 kB / 0.7589 GB, free: 48.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/1.101, allocations: 84 kB / 0.759 GB, free: 48.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006347/1.108, allocations: 3.605 MB / 0.7625 GB, free: 44.52 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03375/1.141, allocations: 18.63 MB / 0.7807 GB, free: 24.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.152, allocations: 4.739 MB / 0.7854 GB, free: 19.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004472/1.156, allocations: 2.217 MB / 0.7875 GB, free: 17.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/1.157, allocations: 74.89 kB / 0.7876 GB, free: 17.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.157, allocations: 73.53 kB / 0.7877 GB, free: 17.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 6.562e-06/1.157, allocations: 0 / 0.7877 GB, free: 17.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.04955/1.206, allocations: 17.45 MB / 0.8047 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/1.206, allocations: 167.5 kB / 0.8049 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/1.211, allocations: 2.634 MB / 0.8074 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001152/1.212, allocations: 89.7 kB / 0.8075 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.214, allocations: 1.987 MB / 0.8095 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002198/1.216, allocations: 1.29 MB / 0.8107 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/1.216, allocations: 72 kB / 0.8108 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.217, allocations: 437.5 kB / 0.8112 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/1.22, allocations: 1.816 MB / 0.813 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/1.223, allocations: 2.394 MB / 0.8153 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/1.227, allocations: 2.071 MB / 0.8173 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.227, allocations: 4 kB / 0.8173 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05227/1.279, allocations: 17.65 MB / 0.8346 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00204/1.281, allocations: 6.669 MB / 0.8411 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.281, allocations: 19.94 kB / 0.8411 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02358/1.305, allocations: 6.918 MB / 0.8479 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.308, allocations: 0.5421 MB / 0.8484 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05887/1.367, allocations: 25.58 MB / 0.8734 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/1.373, allocations: 0.6959 MB / 0.8741 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007214/1.373, allocations: 128 kB / 0.8742 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.373, allocations: 4 kB / 0.8742 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05192/1.425, allocations: 17.23 MB / 0.891 GB, free: 6.445 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-05/1.425, allocations: 19.95 kB / 0.891 GB, free: 6.426 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.38/1.805, allocations: 6.913 MB / 0.8978 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/1.808, allocations: 0.5271 MB / 0.8983 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05693/1.865, allocations: 25.55 MB / 0.9233 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/1.871, allocations: 0.6545 MB / 0.9239 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006435/1.872, allocations: 133.2 kB / 0.924 GB, free: 126.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009244/1.873, allocations: 336.2 kB / 0.9243 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.874, allocations: 455.7 kB / 0.9248 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05017/1.925, allocations: 17.98 MB / 0.9423 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/1.925, allocations: 43.52 kB / 0.9424 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/1.925, allocations: 32.11 kB / 0.9424 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.925, allocations: 21.14 kB / 0.9424 GB, free: 123.2 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.05779/1.983, allocations: 23.21 MB / 0.9651 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.983, allocations: 0 / 0.9651 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.985, allocations: 400.6 kB / 0.9655 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0217/2.007, allocations: 6.972 MB / 0.9723 GB, free: 114.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009342/2.008, allocations: 70.89 kB / 0.9724 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04892/2.057, allocations: 22.56 MB / 0.9944 GB, free: 94.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.057, allocations: 3.906 kB / 0.9944 GB, free: 94.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0549/2.112, allocations: 20.79 MB / 1.015 GB, free: 77.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/2.114, allocations: 0.5546 MB / 1.015 GB, free: 76.85 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/2.116, allocations: 64 kB / 1.015 GB, free: 76.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005596/2.122, allocations: 492.4 kB / 1.016 GB, free: 76.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003222/2.125, allocations: 0.7586 MB / 1.017 GB, free: 76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004607/2.126, allocations: 91.05 kB / 1.017 GB, free: 75.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002872/2.128, allocations: 2.003 MB / 1.019 GB, free: 74.06 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/2.128, allocations: 8 kB / 1.019 GB, free: 74.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008696/2.137, allocations: 2.865 MB / 1.021 GB, free: 71.31 MB / 0.573 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007171/2.138, allocations: 215 kB / 1.022 GB, free: 71.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04047/2.178, allocations: 14.42 MB / 1.036 GB, free: 58.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.178, allocations: 0 / 1.036 GB, free: 58.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01792/2.196, allocations: 5.98 MB / 1.041 GB, free: 52.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/2.2, allocations: 317.5 kB / 1.042 GB, free: 52.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/2.212, allocations: 5.947 MB / 1.048 GB, free: 47.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/2.214, allocations: 2.586 MB / 1.05 GB, free: 45.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003095/2.217, allocations: 0.6091 MB / 1.051 GB, free: 44.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/2.217, allocations: 175.1 kB / 1.051 GB, free: 44.55 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/2.217, allocations: 0 / 1.051 GB, free: 44.55 MB / 0.573 GB Notification: Performance of Templates: time 0.4995/2.717, allocations: 112.5 MB / 1.161 GB, free: 156 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)