Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.0009901, allocations: 174.8 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.285/1.285, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008451/0.0008445, allocations: 95.34 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6224/0.6224, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.828e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3478, allocations: 69.5 MB / 0.5491 GB, free: 19.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4726, allocations: 103 MB / 0.6497 GB, free: 12.54 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4728, allocations: 83.95 kB / 0.6498 GB, free: 12.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5329/1.006, allocations: 102 MB / 0.7494 GB, free: 57.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.006, allocations: 0 / 0.7494 GB, free: 57.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003456/1.006, allocations: 91.94 kB / 0.7495 GB, free: 57.88 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01729/1.023, allocations: 5.786 MB / 0.7551 GB, free: 52.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.024, allocations: 11.97 kB / 0.7551 GB, free: 52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/1.041, allocations: 2.779 MB / 0.7579 GB, free: 49.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007043/1.048, allocations: 2.298 MB / 0.7601 GB, free: 46.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/1.049, allocations: 0.9596 MB / 0.761 GB, free: 45.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/1.051, allocations: 347.9 kB / 0.7614 GB, free: 45.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.064, allocations: 4.093 MB / 0.7654 GB, free: 41.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/1.065, allocations: 7.953 kB / 0.7654 GB, free: 41.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/1.066, allocations: 144 kB / 0.7655 GB, free: 41.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.367e-05/1.066, allocations: 87.94 kB / 0.7656 GB, free: 41.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/1.08, allocations: 3.628 MB / 0.7691 GB, free: 37.41 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.05396/1.134, allocations: 18.74 MB / 0.7874 GB, free: 17.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/1.149, allocations: 4.789 MB / 0.7921 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006129/1.155, allocations: 2.23 MB / 0.7943 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.156, allocations: 74.91 kB / 0.7944 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.261e-05/1.156, allocations: 81.5 kB / 0.7944 GB, free: 10.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 1.435e-05/1.157, allocations: 0 / 0.7944 GB, free: 10.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.08689/1.243, allocations: 17.48 MB / 0.8115 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/1.244, allocations: 167.5 kB / 0.8117 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007957/1.252, allocations: 2.678 MB / 0.8143 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.253, allocations: 97.7 kB / 0.8144 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.255, allocations: 2.006 MB / 0.8163 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002786/1.258, allocations: 1.301 MB / 0.8176 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/1.259, allocations: 75.94 kB / 0.8177 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004102/1.26, allocations: 445.6 kB / 0.8181 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00595/1.266, allocations: 1.831 MB / 0.8199 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007172/1.273, allocations: 2.419 MB / 0.8223 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006848/1.28, allocations: 2.099 MB / 0.8243 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.303e-05/1.28, allocations: 4 kB / 0.8243 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.07959/1.359, allocations: 17.76 MB / 0.8417 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003287/1.363, allocations: 6.679 MB / 0.8482 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.955e-05/1.363, allocations: 16 kB / 0.8482 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03447/1.397, allocations: 7.001 MB / 0.855 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/1.402, allocations: 0.5382 MB / 0.8556 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09216/1.494, allocations: 26.93 MB / 0.8819 GB, free: 15.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008144/1.502, allocations: 0.7113 MB / 0.8826 GB, free: 14.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.503, allocations: 128 kB / 0.8827 GB, free: 14.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.503, allocations: 8 kB / 0.8827 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4253/1.929, allocations: 17.33 MB / 0.8996 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-05/1.929, allocations: 14.5 kB / 0.8996 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0247/1.953, allocations: 7.004 MB / 0.9065 GB, free: 123.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.956, allocations: 0.5259 MB / 0.907 GB, free: 123.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05898/2.015, allocations: 26.92 MB / 0.9333 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006109/2.021, allocations: 0.6786 MB / 0.9339 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/2.022, allocations: 134.5 kB / 0.9341 GB, free: 120.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (325): * Single equations (assignments): 321 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009184/2.023, allocations: 329.5 kB / 0.9344 GB, free: 119.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/2.025, allocations: 465.1 kB / 0.9348 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05057/2.075, allocations: 18.02 MB / 0.9524 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/2.075, allocations: 39.33 kB / 0.9525 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/2.075, allocations: 27.59 kB / 0.9525 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.816e-05/2.075, allocations: 26.31 kB / 0.9525 GB, free: 116.4 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.05896/2.134, allocations: 23.32 MB / 0.9753 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/2.134, allocations: 3.188 kB / 0.9753 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/2.137, allocations: 409.7 kB / 0.9757 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02099/2.158, allocations: 6.94 MB / 0.9824 GB, free: 103 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/2.159, allocations: 75.34 kB / 0.9825 GB, free: 102.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0509/2.21, allocations: 22.57 MB / 1.005 GB, free: 82.92 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.21, allocations: 3.938 kB / 1.005 GB, free: 82.91 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05552/2.266, allocations: 20.87 MB / 1.025 GB, free: 65.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/2.268, allocations: 0.5695 MB / 1.025 GB, free: 65.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/2.269, allocations: 64 kB / 1.026 GB, free: 65.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005556/2.275, allocations: 0.4919 MB / 1.026 GB, free: 64.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003252/2.278, allocations: 0.7673 MB / 1.027 GB, free: 64.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005437/2.279, allocations: 95.75 kB / 1.027 GB, free: 64.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002912/2.282, allocations: 2.045 MB / 1.029 GB, free: 62.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/2.282, allocations: 4 kB / 1.029 GB, free: 62.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009132/2.291, allocations: 2.888 MB / 1.032 GB, free: 59.72 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007652/2.292, allocations: 221.1 kB / 1.032 GB, free: 59.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04323/2.335, allocations: 14.76 MB / 1.046 GB, free: 46.13 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/2.335, allocations: 4.25 kB / 1.046 GB, free: 46.13 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03066/2.366, allocations: 5.994 MB / 1.052 GB, free: 40.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004762/2.371, allocations: 306.5 kB / 1.052 GB, free: 40.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/2.392, allocations: 6.204 MB / 1.059 GB, free: 34.89 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/2.394, allocations: 2.603 MB / 1.061 GB, free: 32.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005505/2.4, allocations: 0.6138 MB / 1.062 GB, free: 32.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/2.401, allocations: 178.9 kB / 1.062 GB, free: 32.38 MB / 0.573 GB Notification: Performance of SimCode: time 1.182e-06/2.401, allocations: 0 / 1.062 GB, free: 32.38 MB / 0.573 GB Notification: Performance of Templates: time 0.5315/2.933, allocations: 113.7 MB / 1.173 GB, free: 147.3 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)