Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002683/0.002683, allocations: 181.2 kB / 7.455 MB, free: 2.246 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.402/1.402, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0009037/0.0009038, allocations: 102.6 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4706/0.4706, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1743/0.6449, allocations: 75.65 MB / 485.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/1.013, allocations: 69.5 MB / 0.542 GB, free: 20.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/1.153, allocations: 99.1 MB / 0.6387 GB, free: 4.824 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.153, allocations: 87.95 kB / 0.6388 GB, free: 4.738 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.08389/1.237, allocations: 30.37 MB / 0.6685 GB, free: 6.113 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.237, allocations: 8 kB / 0.6685 GB, free: 6.105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/1.241, allocations: 0.6068 MB / 0.6691 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/1.243, allocations: 0.8346 MB / 0.6699 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/1.243, allocations: 214.5 kB / 0.6701 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/1.243, allocations: 55.91 kB / 0.6702 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/1.245, allocations: 0.9217 MB / 0.6711 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/1.247, allocations: 1.025 MB / 0.6721 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.247, allocations: 4 kB / 0.6721 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/1.247, allocations: 0 / 0.6721 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/1.247, allocations: 24 kB / 0.6721 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2929/1.54, allocations: 4.127 MB / 0.6761 GB, free: 72.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/1.541, allocations: 0.635 MB / 0.6767 GB, free: 72.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/1.542, allocations: 0.6106 MB / 0.6773 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/1.542, allocations: 21.48 kB / 0.6774 GB, free: 72.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/1.542, allocations: 45.31 kB / 0.6774 GB, free: 72.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.337e-06/1.542, allocations: 0 / 0.6774 GB, free: 72.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.0128/1.555, allocations: 4.508 MB / 0.6818 GB, free: 72.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/1.555, allocations: 120.4 kB / 0.6819 GB, free: 72.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.556, allocations: 0.7667 MB / 0.6827 GB, free: 72.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/1.556, allocations: 25.7 kB / 0.6827 GB, free: 72.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/1.556, allocations: 385 kB / 0.6831 GB, free: 72.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/1.556, allocations: 360.5 kB / 0.6834 GB, free: 72.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/1.557, allocations: 0 / 0.6834 GB, free: 72.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/1.557, allocations: 348.4 kB / 0.6837 GB, free: 71.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007352/1.557, allocations: 467.9 kB / 0.6842 GB, free: 71.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007757/1.558, allocations: 0.6323 MB / 0.6848 GB, free: 71.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/1.559, allocations: 0.524 MB / 0.6853 GB, free: 71.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/1.559, allocations: 0 / 0.6853 GB, free: 71.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01276/1.572, allocations: 4.694 MB / 0.6899 GB, free: 71.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003144/1.572, allocations: 1.503 MB / 0.6914 GB, free: 69.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.572, allocations: 5.844 kB / 0.6914 GB, free: 69.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005748/1.578, allocations: 1.818 MB / 0.6931 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/1.579, allocations: 161.6 kB / 0.6933 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/1.593, allocations: 6.796 MB / 0.6999 GB, free: 67.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.595, allocations: 200.8 kB / 0.7001 GB, free: 67.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/1.595, allocations: 38.31 kB / 0.7002 GB, free: 67.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.595, allocations: 3.375 kB / 0.7002 GB, free: 67.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01459/1.61, allocations: 4.521 MB / 0.7046 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.61, allocations: 3.938 kB / 0.7046 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006842/1.617, allocations: 1.827 MB / 0.7064 GB, free: 67.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.618, allocations: 146 kB / 0.7065 GB, free: 67.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/1.633, allocations: 6.812 MB / 0.7132 GB, free: 62.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.635, allocations: 177.6 kB / 0.7133 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.635, allocations: 41.66 kB / 0.7134 GB, free: 62.71 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0004494/1.636, allocations: 139.5 kB / 0.7135 GB, free: 62.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.636, allocations: 130.4 kB / 0.7136 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.649, allocations: 4.611 MB / 0.7181 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.649, allocations: 8 kB / 0.7181 GB, free: 59.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.649, allocations: 0 / 0.7181 GB, free: 59.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.649, allocations: 6.609 kB / 0.7181 GB, free: 59.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.666, allocations: 6.078 MB / 0.7241 GB, free: 55.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.666, allocations: 6.625 kB / 0.7241 GB, free: 55.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/1.667, allocations: 127.2 kB / 0.7242 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/1.673, allocations: 1.794 MB / 0.7259 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.673, allocations: 5.219 kB / 0.726 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/1.687, allocations: 5.989 MB / 0.7318 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.687, allocations: 0 / 0.7318 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01486/1.701, allocations: 5.423 MB / 0.7371 GB, free: 47.04 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01676/1.718, allocations: 6.579 MB / 0.7435 GB, free: 42.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/1.719, allocations: 219.5 kB / 0.7437 GB, free: 42.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004604/1.719, allocations: 3.812 kB / 0.7437 GB, free: 42.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.721, allocations: 142.3 kB / 0.7439 GB, free: 42.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/1.721, allocations: 116.9 kB / 0.744 GB, free: 42.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.721, allocations: 35.22 kB / 0.744 GB, free: 42.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009779/1.722, allocations: 0.5816 MB / 0.7446 GB, free: 42.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003397/1.726, allocations: 0.6879 MB / 0.7453 GB, free: 41.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004361/1.726, allocations: 129.9 kB / 0.7454 GB, free: 41.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/1.737, allocations: 3.678 MB / 0.749 GB, free: 38.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.737, allocations: 0 / 0.749 GB, free: 38.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004403/1.741, allocations: 1.494 MB / 0.7504 GB, free: 37.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/1.742, allocations: 87.58 kB / 0.7505 GB, free: 37.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/1.748, allocations: 1.752 MB / 0.7522 GB, free: 36.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000808/1.748, allocations: 1.233 MB / 0.7534 GB, free: 34.76 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/1.748, allocations: 0 / 0.7534 GB, free: 34.76 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)