Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_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.005867/0.005867, allocations: 186 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08355/0.08355, allocations: 8.706 MB / 16.57 MB, free: 484 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.187/2.187, allocations: 221.4 MB / 240.5 MB, free: 8.148 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.001176/0.001176, allocations: 102.9 kB / 293.5 MB, free: 5.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2084/0.2096, allocations: 58.66 MB / 352.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.7471, allocations: 52.53 MB / 404.7 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.9257, allocations: 85.23 MB / 489.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004911/0.9263, allocations: 64.56 kB / 490 MB, free: 5.293 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.5519/1.478, allocations: 22.97 MB / 0.5009 GB, free: 86.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.393e-05/1.478, allocations: 7.688 kB / 0.501 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008542/1.479, allocations: 154.2 kB / 0.5011 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/1.482, allocations: 0.9232 MB / 0.502 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/1.482, allocations: 41.16 kB / 0.502 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/1.482, allocations: 62.44 kB / 0.5021 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002753/1.485, allocations: 1.372 MB / 0.5034 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/1.488, allocations: 1.467 MB / 0.5049 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/1.489, allocations: 3.609 kB / 0.5049 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.489, allocations: 2.875 kB / 0.5049 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/1.489, allocations: 46.28 kB / 0.5049 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/1.499, allocations: 4.876 MB / 0.5097 GB, free: 84.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/1.501, allocations: 1.103 MB / 0.5108 GB, free: 84.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/1.503, allocations: 1.133 MB / 0.5119 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/1.504, allocations: 11.56 kB / 0.5119 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/1.504, allocations: 46.44 kB / 0.5119 GB, free: 83.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 5.881e-06/1.504, allocations: 0 / 0.5119 GB, free: 83.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.004539/1.508, allocations: 2.678 MB / 0.5145 GB, free: 82.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/1.508, allocations: 65.62 kB / 0.5146 GB, free: 82.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.509, allocations: 0.7123 MB / 0.5153 GB, free: 82.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/1.51, allocations: 29.42 kB / 0.5153 GB, free: 82.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/1.51, allocations: 396.7 kB / 0.5157 GB, free: 82.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/1.51, allocations: 304.3 kB / 0.516 GB, free: 81.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/1.51, allocations: 2.953 kB / 0.516 GB, free: 81.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/1.51, allocations: 397.6 kB / 0.5164 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/1.511, allocations: 471.5 kB / 0.5168 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.512, allocations: 0.5279 MB / 0.5173 GB, free: 81.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.513, allocations: 0.5142 MB / 0.5178 GB, free: 80.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/1.513, allocations: 1.062 kB / 0.5178 GB, free: 80.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003964/1.517, allocations: 1.454 MB / 0.5193 GB, free: 80.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/1.517, allocations: 5.375 kB / 0.5193 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.517, allocations: 1.812 kB / 0.5193 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/1.519, allocations: 497.2 kB / 0.5197 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.52, allocations: 151.1 kB / 0.5199 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.53, allocations: 8.152 MB / 0.5278 GB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.532, allocations: 38.38 kB / 0.5279 GB, free: 73.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/1.532, allocations: 23.91 kB / 0.5279 GB, free: 73.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * 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: 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.0006073/1.533, allocations: 122.7 kB / 0.528 GB, free: 73.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/1.533, allocations: 90.97 kB / 0.5281 GB, free: 72.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/1.534, allocations: 123.8 kB / 0.5282 GB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.534, allocations: 8 kB / 0.5282 GB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/1.534, allocations: 4 kB / 0.5282 GB, free: 72.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.534, allocations: 6.734 kB / 0.5282 GB, free: 72.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008505/1.542, allocations: 2.953 MB / 0.5311 GB, free: 70.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.543, allocations: 0 / 0.5311 GB, free: 70.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009123/1.543, allocations: 126.9 kB / 0.5313 GB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/1.545, allocations: 480.8 kB / 0.5317 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/1.545, allocations: 11.7 kB / 0.5317 GB, free: 69.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.555, allocations: 8.069 MB / 0.5396 GB, free: 61.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.555, allocations: 0 / 0.5396 GB, free: 61.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004622/1.56, allocations: 2.239 MB / 0.5418 GB, free: 59.89 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005922/1.566, allocations: 3.364 MB / 0.5451 GB, free: 56.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.567, allocations: 287.1 kB / 0.5453 GB, free: 56.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.567, allocations: 9.5 kB / 0.5454 GB, free: 56.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/1.568, allocations: 52.23 kB / 0.5454 GB, free: 56.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/1.568, allocations: 61.72 kB / 0.5455 GB, free: 56.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/1.568, allocations: 20.61 kB / 0.5455 GB, free: 56.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0009813/1.569, allocations: 0.5627 MB / 0.546 GB, free: 55.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00236/1.572, allocations: 268 kB / 0.5463 GB, free: 55.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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: 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.0002863/1.572, allocations: 108.8 kB / 0.5464 GB, free: 55.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002413/1.575, allocations: 1.575 MB / 0.5479 GB, free: 54.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.575, allocations: 8.812 kB / 0.5479 GB, free: 54.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.576, allocations: 1.075 MB / 0.549 GB, free: 53.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.578, allocations: 217.4 kB / 0.5492 GB, free: 52.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00783/1.586, allocations: 2.318 MB / 0.5515 GB, free: 50.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.588, allocations: 1.486 MB / 0.5529 GB, free: 49.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.697e-06/1.588, allocations: 0 / 0.5529 GB, free: 49.45 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Rectifier_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1)