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.001491/0.001491, allocations: 175.1 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.585/1.585, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008975/0.0008975, allocations: 86.64 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5298/0.5298, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.543e-05, allocations: 0 / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 69.34 MB / 0.5481 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5401, allocations: 97.06 MB / 0.6429 GB, free: 3.379 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5404, allocations: 87.92 kB / 0.643 GB, free: 3.293 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06814/0.6086, allocations: 24.56 MB / 0.6669 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.6086, allocations: 4 kB / 0.667 GB, free: 10.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.211e-05/0.6087, allocations: 23.94 kB / 0.667 GB, free: 10.52 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005706/0.6145, allocations: 1.665 MB / 0.6686 GB, free: 8.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6145, allocations: 11.97 kB / 0.6686 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004425/0.615, allocations: 130.5 kB / 0.6687 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.6186, allocations: 0.5409 MB / 0.6693 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.6204, allocations: 0.6992 MB / 0.6699 GB, free: 7.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.6207, allocations: 264.1 kB / 0.6702 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.621, allocations: 71.91 kB / 0.6703 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.623, allocations: 0.9111 MB / 0.6712 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.623, allocations: 3.938 kB / 0.6712 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.6231, allocations: 28 kB / 0.6712 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.6232, allocations: 20 kB / 0.6712 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.625, allocations: 0.8396 MB / 0.672 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.6311, allocations: 3.072 MB / 0.675 GB, free: 1.984 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.6337, allocations: 1.434 MB / 0.6764 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3525/0.9862, allocations: 0.5804 MB / 0.677 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.9865, allocations: 16.5 kB / 0.677 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.9865, allocations: 44.39 kB / 0.6771 GB, free: 106.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.216e-06/0.9865, allocations: 0 / 0.6771 GB, free: 106.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01562/1.002, allocations: 4.213 MB / 0.6812 GB, free: 106.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.002, allocations: 62.22 kB / 0.6812 GB, free: 106.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.004, allocations: 0.6967 MB / 0.6819 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002735/1.004, allocations: 40.77 kB / 0.6819 GB, free: 106 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/1.004, allocations: 464.8 kB / 0.6824 GB, free: 105.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/1.005, allocations: 325.1 kB / 0.6827 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/1.005, allocations: 21.53 kB / 0.6827 GB, free: 105.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/1.005, allocations: 343.8 kB / 0.683 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008839/1.006, allocations: 445.1 kB / 0.6835 GB, free: 105.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.007, allocations: 0.5368 MB / 0.684 GB, free: 105.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/1.008, allocations: 491 kB / 0.6845 GB, free: 105.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/1.008, allocations: 2.438 kB / 0.6845 GB, free: 105.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01242/1.02, allocations: 4.362 MB / 0.6887 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/1.02, allocations: 3.969 kB / 0.6887 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.02, allocations: 3.938 kB / 0.6887 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/1.026, allocations: 1.809 MB / 0.6905 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/1.027, allocations: 113.7 kB / 0.6906 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.041, allocations: 7.702 MB / 0.6981 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.043, allocations: 185.7 kB / 0.6983 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/1.043, allocations: 31.44 kB / 0.6983 GB, free: 101.4 MB / 490.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.0002087/1.043, allocations: 148.8 kB / 0.6985 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/1.043, allocations: 108.9 kB / 0.6986 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.056, allocations: 4.341 MB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/1.056, allocations: 7.438 kB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.056, allocations: 0 / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.056, allocations: 3.562 kB / 0.7028 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.069, allocations: 5.899 MB / 0.7086 GB, free: 95.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.069, allocations: 0 / 0.7086 GB, free: 95.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/1.07, allocations: 93.58 kB / 0.7087 GB, free: 95.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/1.075, allocations: 1.742 MB / 0.7104 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/1.075, allocations: 23.95 kB / 0.7104 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.088, allocations: 6.684 MB / 0.7169 GB, free: 88.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.088, allocations: 0 / 0.7169 GB, free: 88.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/1.101, allocations: 5.06 MB / 0.7219 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.101, allocations: 197.7 kB / 0.7221 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.102, allocations: 20 kB / 0.7221 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.103, allocations: 131.2 kB / 0.7222 GB, free: 83.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/1.103, allocations: 205.7 kB / 0.7224 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/1.103, allocations: 23.84 kB / 0.7224 GB, free: 83.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006976/1.104, allocations: 0.5465 MB / 0.723 GB, free: 83.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.104, allocations: 0 / 0.723 GB, free: 83.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001153/1.105, allocations: 424.2 kB / 0.7234 GB, free: 82.66 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.01311/1.118, allocations: 5.661 MB / 0.7289 GB, free: 77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004963/1.123, allocations: 2.04 MB / 0.7309 GB, free: 74.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.123, allocations: 0 / 0.7309 GB, free: 74.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/1.127, allocations: 1.503 MB / 0.7324 GB, free: 73.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/1.128, allocations: 67.44 kB / 0.7324 GB, free: 73.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/1.131, allocations: 1.686 MB / 0.7341 GB, free: 71.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/1.131, allocations: 1.088 MB / 0.7351 GB, free: 70.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/1.132, allocations: 69.28 kB / 0.7352 GB, free: 70.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/1.132, allocations: 383.3 kB / 0.7356 GB, free: 70.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.132, allocations: 3.938 kB / 0.7356 GB, free: 70.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/1.175, allocations: 28.98 MB / 0.7639 GB, free: 41.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/1.176, allocations: 182.8 kB / 0.764 GB, free: 41.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/4.046, allocations: 4.062 kB / 0.764 GB, free: 41.35 MB / 490.7 MB (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)