Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 172 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.3 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007443/0.0007442, allocations: 82.38 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2909/0.2909, allocations: 42.29 MB / 361.2 MB, free: 49.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 16 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 57.57 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/0.4229, allocations: 93.88 MB / 0.5673 GB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4232, allocations: 100.5 kB / 0.5674 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06371/0.4869, allocations: 24.83 MB / 0.5916 GB, free: 4.871 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4869, allocations: 3.938 kB / 0.5916 GB, free: 4.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.686e-05/0.487, allocations: 28.88 kB / 0.5916 GB, free: 4.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004843/0.4919, allocations: 1.951 MB / 0.5935 GB, free: 2.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4919, allocations: 8.031 kB / 0.5935 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.4951, allocations: 0.5552 MB / 0.5941 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.4971, allocations: 0.847 MB / 0.5949 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.4974, allocations: 234.5 kB / 0.5951 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.4975, allocations: 91.84 kB / 0.5952 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.5001, allocations: 1.35 MB / 0.5965 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5001, allocations: 2.25 kB / 0.5966 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.5002, allocations: 36 kB / 0.5966 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.5002, allocations: 24 kB / 0.5966 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.5027, allocations: 1.226 MB / 0.5978 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005851/0.5086, allocations: 3.889 MB / 0.6016 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.5114, allocations: 1.257 MB / 0.6028 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5129, allocations: 0.8628 MB / 0.6037 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.371e-05/0.513, allocations: 16.98 kB / 0.6037 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5131, allocations: 51.5 kB / 0.6037 GB, free: 8.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/0.5131, allocations: 0 / 0.6037 GB, free: 8.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02626/0.5394, allocations: 8.345 MB / 0.6119 GB, free: 15.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.5395, allocations: 111.8 kB / 0.612 GB, free: 15.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.5408, allocations: 0.8562 MB / 0.6128 GB, free: 14.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002555/0.5411, allocations: 45.7 kB / 0.6129 GB, free: 14.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.5415, allocations: 496.3 kB / 0.6133 GB, free: 14.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.5419, allocations: 346.8 kB / 0.6137 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.5419, allocations: 20 kB / 0.6137 GB, free: 13.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5421, allocations: 341.9 kB / 0.614 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.5437, allocations: 0.7008 MB / 0.6147 GB, free: 12.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.5453, allocations: 0.8376 MB / 0.6155 GB, free: 11.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/0.5591, allocations: 4.575 MB / 0.62 GB, free: 7.328 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5591, allocations: 0 / 0.62 GB, free: 7.328 MB / 442.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01445/0.5736, allocations: 5.094 MB / 0.625 GB, free: 2.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.5738, allocations: 157.9 kB / 0.6251 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.5738, allocations: 4.75 kB / 0.6251 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006816/0.5806, allocations: 2.231 MB / 0.6273 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.5815, allocations: 143.8 kB / 0.6274 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.6044, allocations: 10.22 MB / 0.6374 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.6059, allocations: 195.1 kB / 0.6376 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.606, allocations: 31.98 kB / 0.6376 GB, free: 5.062 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.606, allocations: 4 kB / 0.6376 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01368/0.6197, allocations: 4.906 MB / 0.6424 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6198, allocations: 8 kB / 0.6424 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006645/0.6264, allocations: 2.222 MB / 0.6446 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.6272, allocations: 131.8 kB / 0.6447 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.6498, allocations: 10.22 MB / 0.6547 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.6515, allocations: 187.1 kB / 0.6549 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6516, allocations: 32 kB / 0.6549 GB, free: 3.203 MB / 474.7 MB Warning: Assuming fixed start value for the following 7 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real gen.e1q:VARIABLE(start = gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {25 15} Notification: Performance of prepare postOptimizeDAE: time 0.0008933/0.6525, allocations: 345.2 kB / 0.6553 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.6528, allocations: 114.6 kB / 0.6554 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.6668, allocations: 5.091 MB / 0.6603 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.6669, allocations: 11.94 kB / 0.6603 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6669, allocations: 0 / 0.6603 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/0.667, allocations: 3.984 kB / 0.6604 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.669, allocations: 1.26 MB / 0.6616 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.669, allocations: 0 / 0.6616 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.6696, allocations: 111.9 kB / 0.6617 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/0.676, allocations: 2.167 MB / 0.6638 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.6761, allocations: 16 kB / 0.6638 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01934/0.6955, allocations: 8.815 MB / 0.6724 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6955, allocations: 0 / 0.6724 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.229/0.9246, allocations: 6.08 MB / 0.6784 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.9251, allocations: 199.9 kB / 0.6786 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.9253, allocations: 22.94 kB / 0.6786 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/0.9263, allocations: 143.9 kB / 0.6787 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005644/0.9269, allocations: 202.1 kB / 0.6789 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.927, allocations: 26.73 kB / 0.6789 GB, free: 125.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007528/0.9277, allocations: 0.5843 MB / 0.6795 GB, free: 125.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9277, allocations: 0 / 0.6795 GB, free: 125.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001734/0.9295, allocations: 0.6838 MB / 0.6802 GB, free: 125.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002898/0.9298, allocations: 154.3 kB / 0.6803 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.941, allocations: 4.422 MB / 0.6846 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9411, allocations: 2.344 kB / 0.6846 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004556/0.9456, allocations: 1.792 MB / 0.6864 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.9468, allocations: 121.6 kB / 0.6865 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.9516, allocations: 2.584 MB / 0.689 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.9522, allocations: 1.113 MB / 0.6901 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005434/0.9527, allocations: 87.67 kB / 0.6902 GB, free: 123.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.9529, allocations: 52.31 kB / 0.6902 GB, free: 123.3 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.9529, allocations: 0 / 0.6902 GB, free: 123.3 MB / 490.7 MB Notification: Performance of Templates: time 0.04547/0.9984, allocations: 29.05 MB / 0.7186 GB, free: 121.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)