Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009837/0.0009838, allocations: 89.66 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1003/0.1003, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3344/0.3344, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/1.986e-05, allocations: 4 kB / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 69.23 MB / 0.5819 GB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6314, allocations: 99.4 MB / 0.6789 GB, free: 9.406 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/0.6319, allocations: 88.02 kB / 0.679 GB, free: 9.359 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06926/0.7012, allocations: 24.81 MB / 0.7032 GB, free: 5.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.7012, allocations: 0 / 0.7032 GB, free: 5.008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.969e-05/0.7013, allocations: 17.09 kB / 0.7032 GB, free: 4.992 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005285/0.7066, allocations: 1.729 MB / 0.7049 GB, free: 3.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.7067, allocations: 8.031 kB / 0.7049 GB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.7103, allocations: 0.5562 MB / 0.7055 GB, free: 2.824 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.7123, allocations: 0.7591 MB / 0.7062 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.7125, allocations: 198.4 kB / 0.7064 GB, free: 1.941 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.7127, allocations: 47.94 kB / 0.7065 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001651/0.7144, allocations: 0.8427 MB / 0.7073 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.7159, allocations: 0.8538 MB / 0.7081 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7159, allocations: 3.984 kB / 0.7081 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.716, allocations: 0 / 0.7081 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.716, allocations: 16 kB / 0.7081 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.7219, allocations: 3.021 MB / 0.7111 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.7243, allocations: 1.443 MB / 0.7125 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/0.7251, allocations: 0.5754 MB / 0.7131 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.7252, allocations: 12.77 kB / 0.7131 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.7253, allocations: 45.27 kB / 0.7131 GB, free: 12.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 5.2e-06/0.7253, allocations: 0 / 0.7131 GB, free: 12.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01307/0.7384, allocations: 4.166 MB / 0.7172 GB, free: 9.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.7385, allocations: 85.89 kB / 0.7173 GB, free: 9.129 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.74, allocations: 0.7051 MB / 0.718 GB, free: 8.594 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.7403, allocations: 29.7 kB / 0.718 GB, free: 8.559 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.7408, allocations: 0.4906 MB / 0.7185 GB, free: 8.277 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.7413, allocations: 316.3 kB / 0.7188 GB, free: 8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.7414, allocations: 0 / 0.7188 GB, free: 8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.7416, allocations: 340 kB / 0.7191 GB, free: 7.676 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/0.7424, allocations: 439.2 kB / 0.7195 GB, free: 7.449 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/0.7433, allocations: 0.5373 MB / 0.72 GB, free: 7.098 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.7441, allocations: 478.5 kB / 0.7205 GB, free: 6.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7441, allocations: 0 / 0.7205 GB, free: 6.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01333/0.7574, allocations: 4.311 MB / 0.7247 GB, free: 3.094 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004777/0.758, allocations: 0.8049 MB / 0.7255 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.758, allocations: 4 kB / 0.7255 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005874/0.7639, allocations: 1.743 MB / 0.7272 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.7647, allocations: 122.3 kB / 0.7273 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.7807, allocations: 7.495 MB / 0.7346 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.7825, allocations: 175.2 kB / 0.7348 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.7826, allocations: 32 kB / 0.7348 GB, free: 10.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7827, allocations: 0 / 0.7348 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01333/0.796, allocations: 4.156 MB / 0.7389 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.7961, allocations: 4 kB / 0.7389 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007058/0.8031, allocations: 1.753 MB / 0.7406 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.804, allocations: 111.8 kB / 0.7407 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/0.8207, allocations: 7.484 MB / 0.748 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.8226, allocations: 163.2 kB / 0.7482 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.8228, allocations: 28 kB / 0.7482 GB, free: 12.78 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.000407/0.8232, allocations: 116.8 kB / 0.7483 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0131/0.8363, allocations: 4.165 MB / 0.7524 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009084/0.8373, allocations: 114.6 kB / 0.7525 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.8508, allocations: 4.268 MB / 0.7567 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.8509, allocations: 8 kB / 0.7567 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.8509, allocations: 7.953 kB / 0.7567 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/0.8509, allocations: 7.969 kB / 0.7567 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.8664, allocations: 5.798 MB / 0.7623 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.8664, allocations: 4 kB / 0.7623 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.8671, allocations: 91.89 kB / 0.7624 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005616/0.8728, allocations: 1.726 MB / 0.7641 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.873, allocations: 0 / 0.7641 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.8873, allocations: 6.551 MB / 0.7705 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.8874, allocations: 0 / 0.7705 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.9022, allocations: 5.008 MB / 0.7754 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006759/0.9029, allocations: 203.5 kB / 0.7756 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.9032, allocations: 4 kB / 0.7756 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.9043, allocations: 127.9 kB / 0.7757 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006885/0.905, allocations: 200.4 kB / 0.7759 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.9051, allocations: 20 kB / 0.7759 GB, free: 36 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00093/0.906, allocations: 0.5528 MB / 0.7765 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9061, allocations: 0 / 0.7765 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002393/0.9085, allocations: 0.62 MB / 0.7771 GB, free: 14.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.01435/0.9228, allocations: 5.592 MB / 0.7825 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01064/0.9335, allocations: 3.538 MB / 0.786 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.9336, allocations: 0 / 0.786 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004505/0.9381, allocations: 1.462 MB / 0.7874 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.9392, allocations: 73.86 kB / 0.7875 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.9442, allocations: 1.701 MB / 0.7892 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.9451, allocations: 1.138 MB / 0.7903 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007095/0.9459, allocations: 161 kB / 0.7904 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.9464, allocations: 411.3 kB / 0.7908 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of SimCode: time 3.597e-06/0.9464, allocations: 0 / 0.7908 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08514/1.032, allocations: 36.73 MB / 0.8267 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/1.032, allocations: 135.5 kB / 0.8268 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.378/4.41, allocations: 0 / 0.8268 GB, free: 11.73 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)