Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 173.6 kB / 12.73 MB, free: 2.586 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.257/1.257, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008441/0.0008439, allocations: 95.52 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4375/0.4375, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.229e-05, allocations: 4 kB / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 69.34 MB / 0.548 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.443, allocations: 98.54 MB / 0.6443 GB, free: 1.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4433, allocations: 83.95 kB / 0.6444 GB, free: 1.793 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07031/0.5136, allocations: 25.89 MB / 0.6696 GB, free: 7.715 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5136, allocations: 0 / 0.6696 GB, free: 7.715 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.358e-05/0.5137, allocations: 20 kB / 0.6697 GB, free: 7.695 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005234/0.519, allocations: 1.727 MB / 0.6713 GB, free: 5.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.519, allocations: 15.97 kB / 0.6714 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003748/0.5194, allocations: 122.7 kB / 0.6715 GB, free: 5.773 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.5228, allocations: 0.5564 MB / 0.672 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.5248, allocations: 0.7517 MB / 0.6728 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.5251, allocations: 234.4 kB / 0.673 GB, free: 4.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.5253, allocations: 72 kB / 0.6731 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.5273, allocations: 0.9501 MB / 0.674 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5273, allocations: 4 kB / 0.674 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.5274, allocations: 28 kB / 0.674 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.5275, allocations: 20 kB / 0.674 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.5293, allocations: 0.8827 MB / 0.6749 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3204/0.8496, allocations: 3.149 MB / 0.678 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.8521, allocations: 1.474 MB / 0.6794 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009233/0.8531, allocations: 0.6014 MB / 0.68 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.8532, allocations: 13.81 kB / 0.68 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.8532, allocations: 44.38 kB / 0.68 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.266e-06/0.8532, allocations: 0.875 kB / 0.68 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01392/0.8672, allocations: 4.236 MB / 0.6842 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.8672, allocations: 87.17 kB / 0.6843 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8683, allocations: 0.7783 MB / 0.685 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.8684, allocations: 40.8 kB / 0.6851 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.8687, allocations: 0.495 MB / 0.6856 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.8689, allocations: 323.9 kB / 0.6859 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.869, allocations: 20.47 kB / 0.6859 GB, free: 102.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.869, allocations: 338.9 kB / 0.6862 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.8697, allocations: 454.7 kB / 0.6866 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.8704, allocations: 0.5502 MB / 0.6872 GB, free: 102.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.871, allocations: 498.8 kB / 0.6876 GB, free: 102.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.8711, allocations: 3.953 kB / 0.6877 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0116/0.8827, allocations: 4.384 MB / 0.6919 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.8828, allocations: 0.7956 MB / 0.6927 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8829, allocations: 0 / 0.6927 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/0.8881, allocations: 1.808 MB / 0.6945 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.8887, allocations: 119.2 kB / 0.6946 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.9024, allocations: 7.727 MB / 0.7021 GB, free: 96.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9038, allocations: 195 kB / 0.7023 GB, free: 96.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.9039, allocations: 28.75 kB / 0.7023 GB, free: 96.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.9039, allocations: 6.75 kB / 0.7024 GB, free: 96.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01158/0.9155, allocations: 4.255 MB / 0.7065 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9155, allocations: 0 / 0.7065 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0052/0.9207, allocations: 1.804 MB / 0.7083 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.9213, allocations: 114.2 kB / 0.7084 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.935, allocations: 7.693 MB / 0.7159 GB, free: 87.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.9365, allocations: 183.7 kB / 0.7161 GB, free: 86.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.9366, allocations: 24 kB / 0.7161 GB, free: 86.88 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.000285/0.9369, allocations: 160.3 kB / 0.7162 GB, free: 86.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.9371, allocations: 118.5 kB / 0.7164 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.9491, allocations: 4.347 MB / 0.7206 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.9491, allocations: 8 kB / 0.7206 GB, free: 83.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9491, allocations: 7.328 kB / 0.7206 GB, free: 83.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/0.9492, allocations: 10.75 kB / 0.7206 GB, free: 83.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.9627, allocations: 5.966 MB / 0.7265 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.9627, allocations: 0 / 0.7265 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.9633, allocations: 97.86 kB / 0.7265 GB, free: 78.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/0.9682, allocations: 1.743 MB / 0.7282 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.9684, allocations: 16 kB / 0.7283 GB, free: 76.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.9808, allocations: 6.698 MB / 0.7348 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9808, allocations: 2.844 kB / 0.7348 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.9941, allocations: 5.087 MB / 0.7398 GB, free: 64.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.9946, allocations: 211.4 kB / 0.74 GB, free: 64.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.9948, allocations: 20 kB / 0.74 GB, free: 64.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.9959, allocations: 143.9 kB / 0.7401 GB, free: 64.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005614/0.9965, allocations: 200.4 kB / 0.7403 GB, free: 64.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.9965, allocations: 24 kB / 0.7403 GB, free: 64.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000685/0.9972, allocations: 0.6048 MB / 0.7409 GB, free: 63.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9972, allocations: 0 / 0.7409 GB, free: 63.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001689/0.9989, allocations: 0.681 MB / 0.7416 GB, free: 62.98 MB / 490.7 MB 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.01322/1.012, allocations: 5.696 MB / 0.7472 GB, free: 57.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008862/1.021, allocations: 3.647 MB / 0.7507 GB, free: 53.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.021, allocations: 0 / 0.7507 GB, free: 53.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003911/1.025, allocations: 1.515 MB / 0.7522 GB, free: 52.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/1.026, allocations: 88.3 kB / 0.7523 GB, free: 51.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/1.03, allocations: 1.776 MB / 0.754 GB, free: 50.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.031, allocations: 1.134 MB / 0.7551 GB, free: 49.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006342/1.031, allocations: 168.5 kB / 0.7553 GB, free: 48.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/1.032, allocations: 411.3 kB / 0.7557 GB, free: 48.45 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/1.032, allocations: 0 / 0.7557 GB, free: 48.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05365/1.085, allocations: 39.33 MB / 0.7941 GB, free: 9.598 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.085, allocations: 172.4 kB / 0.7943 GB, free: 9.375 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/4.087, allocations: 0 / 0.7943 GB, free: 9.375 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)