Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",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.000982/0.000982, allocations: 182.2 kB / 8.138 MB, free: 2.223 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.115/1.115, allocations: 221.4 MB / 229.9 MB, free: 3.043 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.0009324/0.0009323, allocations: 103.6 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09062/0.09158, allocations: 55.81 MB / 336.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.2712, allocations: 50.4 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08389/0.3552, allocations: 85.9 MB / 472.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.3554, allocations: 75.89 kB / 473 MB, free: 0.8125 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.1845/0.5399, allocations: 34.36 MB / 0.4954 GB, free: 120.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.54, allocations: 7.438 kB / 0.4955 GB, free: 120.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.5404, allocations: 236.5 kB / 0.4957 GB, free: 120.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.5421, allocations: 1.227 MB / 0.4969 GB, free: 119.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.5421, allocations: 65.59 kB / 0.4969 GB, free: 119.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.5423, allocations: 121.1 kB / 0.4971 GB, free: 119.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00234/0.5447, allocations: 1.799 MB / 0.4988 GB, free: 119.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.5474, allocations: 2.265 MB / 0.501 GB, free: 119.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.5475, allocations: 0 / 0.501 GB, free: 119.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.5476, allocations: 3.281 kB / 0.501 GB, free: 119.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.5477, allocations: 50.84 kB / 0.5011 GB, free: 119.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.5563, allocations: 7.171 MB / 0.5081 GB, free: 117.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.557, allocations: 0.6252 MB / 0.5087 GB, free: 117.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.5584, allocations: 1.137 MB / 0.5098 GB, free: 117.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.5585, allocations: 16.86 kB / 0.5098 GB, free: 117.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.5585, allocations: 51.48 kB / 0.5099 GB, free: 117.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.327e-06/0.5585, allocations: 0 / 0.5099 GB, free: 117.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.00393/0.5625, allocations: 2.852 MB / 0.5127 GB, free: 117.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.5625, allocations: 59.31 kB / 0.5127 GB, free: 117.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.5632, allocations: 0.7019 MB / 0.5134 GB, free: 116.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.5633, allocations: 25.7 kB / 0.5134 GB, free: 116.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.5635, allocations: 0.7173 MB / 0.5141 GB, free: 116.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5637, allocations: 316.7 kB / 0.5144 GB, free: 116.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.5637, allocations: 1.875 kB / 0.5144 GB, free: 116.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.5638, allocations: 342.4 kB / 0.5147 GB, free: 115.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.5643, allocations: 487.1 kB / 0.5152 GB, free: 115.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.5649, allocations: 0.6414 MB / 0.5158 GB, free: 115.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.5656, allocations: 0.5618 MB / 0.5164 GB, free: 115.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5656, allocations: 0 / 0.5164 GB, free: 115.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001885/0.5675, allocations: 1.534 MB / 0.5179 GB, free: 115.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5675, allocations: 3.812 kB / 0.5179 GB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.5675, allocations: 9.438 kB / 0.5179 GB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008836/0.5684, allocations: 469.1 kB / 0.5183 GB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.5691, allocations: 180.2 kB / 0.5185 GB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/0.5749, allocations: 7.955 MB / 0.5263 GB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/0.5756, allocations: 25.88 kB / 0.5263 GB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.5757, allocations: 35.41 kB / 0.5263 GB, free: 110.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.5759, allocations: 130.9 kB / 0.5265 GB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.5761, allocations: 102.7 kB / 0.5266 GB, free: 110.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.5782, allocations: 1.449 MB / 0.528 GB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.5782, allocations: 12.47 kB / 0.528 GB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5782, allocations: 4.875 kB / 0.528 GB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5782, allocations: 8.703 kB / 0.528 GB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.5829, allocations: 3.162 MB / 0.5311 GB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.5829, allocations: 2 kB / 0.5311 GB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.5836, allocations: 131 kB / 0.5312 GB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008996/0.5845, allocations: 455.5 kB / 0.5317 GB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.5845, allocations: 10.14 kB / 0.5317 GB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006098/0.5906, allocations: 7.868 MB / 0.5394 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.5907, allocations: 1 kB / 0.5394 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002654/0.5933, allocations: 2.267 MB / 0.5416 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003167/0.5965, allocations: 3.407 MB / 0.5449 GB, free: 98.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.597, allocations: 278.3 kB / 0.5452 GB, free: 98.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.5972, allocations: 3.094 kB / 0.5452 GB, free: 98.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.5976, allocations: 26.75 kB / 0.5452 GB, free: 98.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.5978, allocations: 64.92 kB / 0.5452 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.5979, allocations: 23.42 kB / 0.5453 GB, free: 98.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005541/0.5984, allocations: 0.5404 MB / 0.5458 GB, free: 98.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001942/0.6004, allocations: 363.7 kB / 0.5461 GB, free: 97.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002637/0.6006, allocations: 150.3 kB / 0.5463 GB, free: 97.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.6025, allocations: 1.689 MB / 0.5479 GB, free: 95.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6025, allocations: 0 / 0.5479 GB, free: 95.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6037, allocations: 1.163 MB / 0.5491 GB, free: 94.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6047, allocations: 224.7 kB / 0.5493 GB, free: 94.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.6094, allocations: 2.859 MB / 0.5521 GB, free: 92.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.6106, allocations: 1.8 MB / 0.5538 GB, free: 90.68 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6106, allocations: 0 / 0.5538 GB, free: 90.68 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1)