Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_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.001474/0.001474, allocations: 171.9 kB / 7.646 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.64/1.64, allocations: 205.3 MB / 213.4 MB, free: 13.73 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.0009031/0.0009029, allocations: 89.53 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08715/0.08715, allocations: 12.18 MB / 321.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3094/0.3094, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.63e-05, allocations: 4 kB / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 69.23 MB / 0.5819 GB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6378/0.7666, allocations: 97.87 MB / 0.6774 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.767, allocations: 86.84 kB / 0.6775 GB, free: 9.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05911/0.8261, allocations: 23.48 MB / 0.7005 GB, free: 7.617 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.8262, allocations: 0 / 0.7005 GB, free: 7.617 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.872e-05/0.8262, allocations: 16 kB / 0.7005 GB, free: 7.602 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005208/0.8315, allocations: 1.672 MB / 0.7021 GB, free: 6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.8315, allocations: 12.03 kB / 0.7021 GB, free: 5.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.8347, allocations: 0.5402 MB / 0.7026 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.8362, allocations: 0.7079 MB / 0.7033 GB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.8365, allocations: 227.4 kB / 0.7035 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8366, allocations: 40 kB / 0.7036 GB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001401/0.8381, allocations: 0.7999 MB / 0.7044 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.8395, allocations: 0.8152 MB / 0.7052 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.8395, allocations: 0 / 0.7052 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.8396, allocations: 0 / 0.7052 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.8396, allocations: 20 kB / 0.7052 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.8447, allocations: 2.953 MB / 0.7081 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.8469, allocations: 1.395 MB / 0.7094 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.8477, allocations: 0.5625 MB / 0.71 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.8478, allocations: 20.77 kB / 0.71 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.8479, allocations: 42.41 kB / 0.71 GB, free: 15.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 2.064e-06/0.8479, allocations: 0 / 0.71 GB, free: 15.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01292/0.8608, allocations: 4.151 MB / 0.7141 GB, free: 12.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.8609, allocations: 60.19 kB / 0.7141 GB, free: 11.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.862, allocations: 0.6427 MB / 0.7148 GB, free: 11.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.8622, allocations: 25.7 kB / 0.7148 GB, free: 11.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.8625, allocations: 468.1 kB / 0.7152 GB, free: 11.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.8629, allocations: 307.9 kB / 0.7155 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.863, allocations: 0 / 0.7155 GB, free: 10.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8631, allocations: 348.5 kB / 0.7159 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.8638, allocations: 436 kB / 0.7163 GB, free: 10.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.8646, allocations: 0.5085 MB / 0.7168 GB, free: 10.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.8654, allocations: 479.8 kB / 0.7172 GB, free: 9.781 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8654, allocations: 0.9375 kB / 0.7172 GB, free: 9.781 MB / 458.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01294/0.8784, allocations: 4.271 MB / 0.7214 GB, free: 6.066 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.8785, allocations: 11.94 kB / 0.7214 GB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.8785, allocations: 0 / 0.7214 GB, free: 6.055 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/0.8843, allocations: 1.753 MB / 0.7231 GB, free: 4.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.885, allocations: 123.6 kB / 0.7233 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.9003, allocations: 7.481 MB / 0.7306 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.902, allocations: 171.1 kB / 0.7307 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.9021, allocations: 32 kB / 0.7308 GB, free: 14.84 MB / 474.7 MB 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 (71): * Single equations (assignments): 70 * 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.0002776/0.9024, allocations: 108.9 kB / 0.7309 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01339/0.9158, allocations: 4.157 MB / 0.7349 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/0.9166, allocations: 106.7 kB / 0.735 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.9296, allocations: 4.244 MB / 0.7392 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.9297, allocations: 15.98 kB / 0.7392 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.9297, allocations: 0 / 0.7392 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.9297, allocations: 7.938 kB / 0.7392 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.9448, allocations: 5.731 MB / 0.7448 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.9449, allocations: 0 / 0.7448 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.9456, allocations: 99.83 kB / 0.7449 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005518/0.9511, allocations: 1.718 MB / 0.7466 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.9513, allocations: 8 kB / 0.7466 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.9651, allocations: 6.543 MB / 0.753 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.9651, allocations: 4 kB / 0.753 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.9797, allocations: 4.981 MB / 0.7578 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.9805, allocations: 191.6 kB / 0.758 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.9806, allocations: 0 / 0.758 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.9817, allocations: 123.9 kB / 0.7581 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006764/0.9824, allocations: 200.3 kB / 0.7583 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.9825, allocations: 24 kB / 0.7583 GB, free: 2.266 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007684/0.9833, allocations: 0.4962 MB / 0.7588 GB, free: 1.758 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.9833, allocations: 0 / 0.7588 GB, free: 1.758 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001579/0.9849, allocations: 383.5 kB / 0.7592 GB, free: 1.383 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.01486/0.9997, allocations: 5.564 MB / 0.7646 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005599/1.005, allocations: 1.968 MB / 0.7665 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.005, allocations: 0 / 0.7665 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00438/1.01, allocations: 1.45 MB / 0.768 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/1.011, allocations: 59.38 kB / 0.768 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/1.014, allocations: 1.615 MB / 0.7696 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/1.015, allocations: 1.076 MB / 0.7706 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002995/1.015, allocations: 61.58 kB / 0.7707 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/1.016, allocations: 395.3 kB / 0.7711 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/1.016, allocations: 3.938 kB / 0.7711 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06205/1.078, allocations: 27.16 MB / 0.7976 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.078, allocations: 134.8 kB / 0.7977 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.076, allocations: 0 / 0.7977 GB, free: 9.75 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)