Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.0008928/0.0008926, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 89.73 kB / 280.4 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5098/0.5098, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.165e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1666, allocations: 69.35 MB / 0.5414 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4843/0.6509, allocations: 96.39 MB / 0.6356 GB, free: 3.199 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.6513, allocations: 83.94 kB / 0.6356 GB, free: 3.117 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06469/0.7159, allocations: 24.25 MB / 0.6593 GB, free: 10.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.716, allocations: 0 / 0.6593 GB, free: 10.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.673e-05/0.7161, allocations: 25.31 kB / 0.6593 GB, free: 10.88 MB / 474.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.004548/0.7206, allocations: 1.665 MB / 0.661 GB, free: 9.168 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.7207, allocations: 8.031 kB / 0.661 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.7239, allocations: 0.5449 MB / 0.6615 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.7256, allocations: 0.6991 MB / 0.6622 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.7259, allocations: 232.2 kB / 0.6624 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.7261, allocations: 47.91 kB / 0.6625 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/0.7276, allocations: 0.8006 MB / 0.6632 GB, free: 6.762 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.729, allocations: 0.8095 MB / 0.664 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.7291, allocations: 0 / 0.664 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.7292, allocations: 0 / 0.664 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.7292, allocations: 16 kB / 0.664 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.7345, allocations: 2.956 MB / 0.6669 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.7367, allocations: 1.406 MB / 0.6683 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/0.7375, allocations: 0.5545 MB / 0.6688 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.7377, allocations: 12.78 kB / 0.6689 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.7377, allocations: 39.34 kB / 0.6689 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 2.244e-06/0.7377, allocations: 0 / 0.6689 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.01262/0.7503, allocations: 4.149 MB / 0.6729 GB, free: 12.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.7504, allocations: 60.19 kB / 0.673 GB, free: 12.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.7515, allocations: 0.651 MB / 0.6736 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.7516, allocations: 26.27 kB / 0.6737 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.752, allocations: 456.4 kB / 0.6741 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.7523, allocations: 315.2 kB / 0.6744 GB, free: 11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.7524, allocations: 7.938 kB / 0.6744 GB, free: 10.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7525, allocations: 341.9 kB / 0.6747 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.7532, allocations: 430.6 kB / 0.6751 GB, free: 10.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.7539, allocations: 0.5159 MB / 0.6756 GB, free: 9.688 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.7546, allocations: 470.2 kB / 0.6761 GB, free: 9.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7547, allocations: 0 / 0.6761 GB, free: 9.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01279/0.7675, allocations: 4.293 MB / 0.6803 GB, free: 4.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.7676, allocations: 5.719 kB / 0.6803 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.7676, allocations: 10.56 kB / 0.6803 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00589/0.7735, allocations: 1.741 MB / 0.682 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.7742, allocations: 125.2 kB / 0.6821 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.789, allocations: 7.472 MB / 0.6894 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.7905, allocations: 159.3 kB / 0.6896 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.7906, allocations: 28 kB / 0.6896 GB, free: 11.26 MB / 0.4948 GB 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.0002642/0.7909, allocations: 118 kB / 0.6897 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01297/0.8039, allocations: 4.157 MB / 0.6938 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004877/0.8044, allocations: 110.7 kB / 0.6939 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.8171, allocations: 4.24 MB / 0.698 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.8172, allocations: 11.98 kB / 0.698 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8172, allocations: 0 / 0.698 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.417e-05/0.8172, allocations: 3.984 kB / 0.698 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.8318, allocations: 5.729 MB / 0.7036 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8318, allocations: 4 kB / 0.7036 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.8325, allocations: 103.8 kB / 0.7037 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005467/0.838, allocations: 1.718 MB / 0.7054 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.8382, allocations: 5.406 kB / 0.7054 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/0.8516, allocations: 6.552 MB / 0.7118 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.8517, allocations: 0 / 0.7118 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/0.8728, allocations: 4.981 MB / 0.7167 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.8735, allocations: 199.6 kB / 0.7169 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.8738, allocations: 2.125 kB / 0.7169 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.8753, allocations: 115.9 kB / 0.717 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008469/0.8762, allocations: 208.3 kB / 0.7172 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.8763, allocations: 24 kB / 0.7172 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009785/0.8773, allocations: 0.4962 MB / 0.7177 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8773, allocations: 0 / 0.7177 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001662/0.879, allocations: 379.5 kB / 0.718 GB, free: 13.79 MB / 0.5261 GB 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.02106/0.9, allocations: 5.561 MB / 0.7235 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006898/0.907, allocations: 1.969 MB / 0.7254 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.907, allocations: 0 / 0.7254 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.9113, allocations: 1.451 MB / 0.7268 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.9121, allocations: 59.42 kB / 0.7269 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.9152, allocations: 1.61 MB / 0.7284 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.9158, allocations: 1.081 MB / 0.7295 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.9161, allocations: 65.56 kB / 0.7296 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.9166, allocations: 395.3 kB / 0.7299 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/0.9166, allocations: 0 / 0.7299 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.974, allocations: 27.15 MB / 0.7565 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.9742, allocations: 141.3 kB / 0.7566 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.778, allocations: 0 / 0.7566 GB, free: 6.371 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)