Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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) 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(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",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.0009838/0.0009837, allocations: 181.8 kB / 8.131 MB, free: 2.215 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.104/1.104, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.0008676/0.0008676, allocations: 102 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09662/0.09751, allocations: 55.82 MB / 336.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.2774, allocations: 50.39 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08713/0.3645, allocations: 86.03 MB / 473 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3648, allocations: 80.39 kB / 473.1 MB, free: 0.6641 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.1913/0.5561, allocations: 34 MB / 0.4952 GB, free: 119.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5562, allocations: 10.78 kB / 0.4952 GB, free: 119.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/0.5569, allocations: 252.5 kB / 0.4955 GB, free: 119.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.5587, allocations: 1.26 MB / 0.4967 GB, free: 119.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/0.5587, allocations: 73.88 kB / 0.4968 GB, free: 119.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.5589, allocations: 126.8 kB / 0.4969 GB, free: 119.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00254/0.5615, allocations: 1.799 MB / 0.4986 GB, free: 119.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.5647, allocations: 2.403 MB / 0.501 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.5648, allocations: 0 / 0.501 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.5649, allocations: 3.062 kB / 0.501 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.565, allocations: 62.72 kB / 0.5011 GB, free: 118.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008952/0.5739, allocations: 7.325 MB / 0.5082 GB, free: 117.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.5746, allocations: 0.6279 MB / 0.5088 GB, free: 117.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.5754, allocations: 0.678 MB / 0.5095 GB, free: 117.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.5754, allocations: 10.47 kB / 0.5095 GB, free: 117.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5755, allocations: 47.62 kB / 0.5095 GB, free: 117.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.595e-06/0.5755, allocations: 0 / 0.5095 GB, free: 117.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002771/0.5783, allocations: 2.02 MB / 0.5115 GB, free: 116.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.5783, allocations: 64.69 kB / 0.5116 GB, free: 116.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.5789, allocations: 0.6571 MB / 0.5122 GB, free: 116.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.579, allocations: 25.7 kB / 0.5122 GB, free: 116.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.5792, allocations: 0.8202 MB / 0.513 GB, free: 115.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5793, allocations: 216.8 kB / 0.5132 GB, free: 115.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.5794, allocations: 0 / 0.5132 GB, free: 115.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5795, allocations: 396.3 kB / 0.5136 GB, free: 115.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.5799, allocations: 348 kB / 0.514 GB, free: 115.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.5804, allocations: 0.5529 MB / 0.5145 GB, free: 115.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.5809, allocations: 455 kB / 0.5149 GB, free: 115.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5809, allocations: 3.406 kB / 0.5149 GB, free: 115.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001289/0.5822, allocations: 1.049 MB / 0.516 GB, free: 115 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5822, allocations: 8.203 kB / 0.516 GB, free: 115 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.5822, allocations: 10.5 kB / 0.516 GB, free: 115 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.5824, allocations: 91.03 kB / 0.5161 GB, free: 115 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.5831, allocations: 180.4 kB / 0.5162 GB, free: 115 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.5844, allocations: 1.821 MB / 0.518 GB, free: 113.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.5849, allocations: 28.45 kB / 0.518 GB, free: 113.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.585, allocations: 33.38 kB / 0.5181 GB, free: 113.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5851, allocations: 130.3 kB / 0.5182 GB, free: 113.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5852, allocations: 81.12 kB / 0.5183 GB, free: 113.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.5864, allocations: 0.8657 MB / 0.5191 GB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5864, allocations: 3.812 kB / 0.5191 GB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5864, allocations: 4.719 kB / 0.5191 GB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5864, allocations: 3.703 kB / 0.5191 GB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.5896, allocations: 2.319 MB / 0.5214 GB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5896, allocations: 7.656 kB / 0.5214 GB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.5901, allocations: 118.9 kB / 0.5215 GB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.5903, allocations: 73.25 kB / 0.5216 GB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.5903, allocations: 18.09 kB / 0.5216 GB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.5915, allocations: 1.788 MB / 0.5234 GB, free: 111.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5915, allocations: 0 / 0.5234 GB, free: 111.8 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001647/0.5932, allocations: 1.442 MB / 0.5248 GB, free: 111.4 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002172/0.5954, allocations: 2.286 MB / 0.527 GB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.5957, allocations: 227 kB / 0.5272 GB, free: 110 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5958, allocations: 13.03 kB / 0.5272 GB, free: 110 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.5963, allocations: 38.78 kB / 0.5273 GB, free: 110 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.5964, allocations: 38.3 kB / 0.5273 GB, free: 110 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.5964, allocations: 18.12 kB / 0.5273 GB, free: 110 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005475/0.597, allocations: 0.5039 MB / 0.5278 GB, free: 109.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001644/0.5986, allocations: 283.5 kB / 0.5281 GB, free: 109.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.5989, allocations: 137.2 kB / 0.5282 GB, free: 109.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.6001, allocations: 0.9806 MB / 0.5292 GB, free: 109.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.6002, allocations: 1 kB / 0.5292 GB, free: 109.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.6008, allocations: 0.5652 MB / 0.5297 GB, free: 108.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.6017, allocations: 172.8 kB / 0.5299 GB, free: 108.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.606, allocations: 2.484 MB / 0.5323 GB, free: 107.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.6074, allocations: 1.822 MB / 0.5341 GB, free: 107 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6074, allocations: 0 / 0.5341 GB, free: 107 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1)