Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_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 3.2.3+maint.om/package.mo): time 0.0009673/0.000967, allocations: 179.9 kB / 8.474 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008658/0.0008657, allocations: 90.27 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1504/0.1513, allocations: 52.95 MB / 315 MB, free: 41.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06769/0.219, allocations: 47.58 MB / 362.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.431, allocations: 84.5 MB / 447.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.4312, allocations: 73.81 kB / 447.2 MB, free: 10.41 MB / 314.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.07459/0.5058, allocations: 33.57 MB / 480.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5059, allocations: 11.94 kB / 480.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.5067, allocations: 237.3 kB / 481 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.5091, allocations: 1.232 MB / 482.2 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.5092, allocations: 68 kB / 482.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003685/0.5096, allocations: 116 kB / 482.4 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003669/0.5133, allocations: 1.808 MB / 484.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.5168, allocations: 2.27 MB / 486.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.5169, allocations: 0 / 486.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.517, allocations: 0 / 486.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.5171, allocations: 52 kB / 486.5 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.5271, allocations: 7.184 MB / 493.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.5279, allocations: 0.6246 MB / 494.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.5296, allocations: 1.145 MB / 495.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.5296, allocations: 12.78 kB / 495.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5297, allocations: 39.34 kB / 495.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.5297, allocations: 0 / 495.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.004384/0.5341, allocations: 2.864 MB / 498.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5341, allocations: 60.19 kB / 498.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.535, allocations: 0.7032 MB / 499.2 MB, free: 9.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.535, allocations: 25.7 kB / 499.2 MB, free: 9.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.5354, allocations: 0.7238 MB / 499.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.5356, allocations: 311.3 kB / 0.4885 GB, free: 8.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.5357, allocations: 0 / 0.4885 GB, free: 8.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5358, allocations: 345.9 kB / 0.4888 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006212/0.5364, allocations: 477.8 kB / 0.4893 GB, free: 8.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.5372, allocations: 0.6489 MB / 0.4899 GB, free: 7.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.5379, allocations: 0.5611 MB / 0.4905 GB, free: 6.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.538, allocations: 0 / 0.4905 GB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002298/0.5403, allocations: 1.532 MB / 0.492 GB, free: 5.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5403, allocations: 4 kB / 0.492 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.5403, allocations: 11.98 kB / 0.492 GB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.5413, allocations: 478.9 kB / 0.4924 GB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.5421, allocations: 175.8 kB / 0.4926 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/0.5493, allocations: 7.95 MB / 0.5004 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.5499, allocations: 27.91 kB / 0.5004 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.55, allocations: 36 kB / 0.5004 GB, free: 12.09 MB / 362.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.0002093/0.5502, allocations: 128.9 kB / 0.5006 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5504, allocations: 102.8 kB / 0.5007 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.5526, allocations: 1.453 MB / 0.5021 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5526, allocations: 15.92 kB / 0.5021 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5526, allocations: 4 kB / 0.5021 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5526, allocations: 3.984 kB / 0.5021 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.5576, allocations: 3.181 MB / 0.5052 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5576, allocations: 0 / 0.5052 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.5582, allocations: 127.8 kB / 0.5053 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009187/0.5591, allocations: 455 kB / 0.5058 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.5592, allocations: 7.984 kB / 0.5058 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006904/0.5661, allocations: 7.87 MB / 0.5135 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5661, allocations: 3.938 kB / 0.5135 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002961/0.5691, allocations: 2.256 MB / 0.5157 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003859/0.5729, allocations: 3.413 MB / 0.519 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.5734, allocations: 275.8 kB / 0.5193 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5736, allocations: 8 kB / 0.5193 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.574, allocations: 23.97 kB / 0.5193 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.5742, allocations: 68.53 kB / 0.5194 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.5743, allocations: 24.12 kB / 0.5194 GB, free: 8.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006885/0.575, allocations: 0.5465 MB / 0.5199 GB, free: 7.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001981/0.577, allocations: 355.9 kB / 0.5202 GB, free: 7.148 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.0002837/0.5773, allocations: 151 kB / 0.5204 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.5796, allocations: 1.699 MB / 0.522 GB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.5796, allocations: 1.312 kB / 0.5221 GB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.581, allocations: 1.153 MB / 0.5232 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5821, allocations: 228.7 kB / 0.5234 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.5872, allocations: 2.869 MB / 0.5262 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.5887, allocations: 1.802 MB / 0.528 GB, free: 15.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5887, allocations: 0 / 0.528 GB, free: 15.05 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)