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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05102/0.05102, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.4 MB / 246 MB, free: 3.547 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.0009779/0.0009781, allocations: 79.94 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.189e-05, allocations: 4 kB / 359.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2869, allocations: 52.54 MB / 412.1 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4002, allocations: 85.97 MB / 498.1 MB, free: 456 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4005, allocations: 63.97 kB / 498.2 MB, free: 392 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3241/0.7246, allocations: 21.96 MB / 0.5079 GB, free: 85.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7246, allocations: 3.938 kB / 0.5079 GB, free: 85.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.952e-05/0.7247, allocations: 34.56 kB / 0.508 GB, free: 85.85 MB / 378.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.003133/0.7279, allocations: 1.435 MB / 0.5094 GB, free: 85.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.728, allocations: 13.72 kB / 0.5094 GB, free: 85.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002979/0.7283, allocations: 178.8 kB / 0.5096 GB, free: 85.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.7287, allocations: 152.4 kB / 0.5097 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.7305, allocations: 0.9207 MB / 0.5106 GB, free: 84.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/0.7306, allocations: 82.27 kB / 0.5107 GB, free: 84.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.7308, allocations: 115 kB / 0.5108 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.7331, allocations: 1.591 MB / 0.5124 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.7331, allocations: 3.281 kB / 0.5124 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.7333, allocations: 52.19 kB / 0.5124 GB, free: 84.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.7333, allocations: 44.92 kB / 0.5125 GB, free: 84.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.7353, allocations: 1.396 MB / 0.5138 GB, free: 84.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007023/0.7423, allocations: 5.032 MB / 0.5187 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.7441, allocations: 2.531 MB / 0.5212 GB, free: 79.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009771/0.7451, allocations: 0.8298 MB / 0.522 GB, free: 79.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.7452, allocations: 10.22 kB / 0.522 GB, free: 79.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7452, allocations: 43.25 kB / 0.5221 GB, free: 79.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 5.361e-06/0.7452, allocations: 0 / 0.5221 GB, free: 79.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.004204/0.7495, allocations: 2.751 MB / 0.5247 GB, free: 77.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.7495, allocations: 65.44 kB / 0.5248 GB, free: 77.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.7506, allocations: 0.7786 MB / 0.5256 GB, free: 77.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.7507, allocations: 45.2 kB / 0.5256 GB, free: 77.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.751, allocations: 0.4979 MB / 0.5261 GB, free: 77.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.7512, allocations: 309.4 kB / 0.5264 GB, free: 76.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.7512, allocations: 15.53 kB / 0.5264 GB, free: 76.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.7513, allocations: 341 kB / 0.5267 GB, free: 76.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/0.7519, allocations: 468.8 kB / 0.5272 GB, free: 76.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.7524, allocations: 0.5227 MB / 0.5277 GB, free: 75.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.7531, allocations: 0.5089 MB / 0.5282 GB, free: 75.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7531, allocations: 0 / 0.5282 GB, free: 75.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001917/0.755, allocations: 1.492 MB / 0.5296 GB, free: 73.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.755, allocations: 8 kB / 0.5297 GB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.755, allocations: 0 / 0.5297 GB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/0.756, allocations: 498 kB / 0.5301 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.7565, allocations: 134 kB / 0.5303 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.7633, allocations: 8.733 MB / 0.5388 GB, free: 64.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/0.7643, allocations: 53.92 kB / 0.5388 GB, free: 64.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.7644, allocations: 20 kB / 0.5389 GB, free: 64.77 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.0002096/0.7646, allocations: 158 kB / 0.539 GB, free: 64.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.7647, allocations: 90.97 kB / 0.5391 GB, free: 64.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.7651, allocations: 130.8 kB / 0.5392 GB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.7651, allocations: 12 kB / 0.5392 GB, free: 64.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.7651, allocations: 0 / 0.5392 GB, free: 64.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.7652, allocations: 3.094 kB / 0.5392 GB, free: 64.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.7694, allocations: 3.12 MB / 0.5423 GB, free: 61.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.7694, allocations: 0 / 0.5423 GB, free: 61.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.7699, allocations: 123.9 kB / 0.5424 GB, free: 61.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/0.7708, allocations: 483.3 kB / 0.5429 GB, free: 60.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.7709, allocations: 16 kB / 0.5429 GB, free: 60.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006318/0.7772, allocations: 8.643 MB / 0.5513 GB, free: 51.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7772, allocations: 0 / 0.5513 GB, free: 51.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.7802, allocations: 2.245 MB / 0.5535 GB, free: 49.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/0.781, allocations: 295.9 kB / 0.5538 GB, free: 49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.7813, allocations: 16 kB / 0.5538 GB, free: 48.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.782, allocations: 63.94 kB / 0.5539 GB, free: 48.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.7823, allocations: 92.64 kB / 0.554 GB, free: 48.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.7824, allocations: 24 kB / 0.554 GB, free: 48.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000891/0.7833, allocations: 0.62 MB / 0.5546 GB, free: 48.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7833, allocations: 0 / 0.5546 GB, free: 48.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001559/0.7848, allocations: 319.9 kB / 0.5549 GB, free: 47.89 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.003031/0.7879, allocations: 2.954 MB / 0.5578 GB, free: 44.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.7901, allocations: 1.706 MB / 0.5594 GB, free: 43.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7902, allocations: 384 / 0.5594 GB, free: 43.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.7915, allocations: 1.198 MB / 0.5606 GB, free: 41.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.7931, allocations: 267 kB / 0.5609 GB, free: 41.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.7987, allocations: 2.707 MB / 0.5635 GB, free: 38.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.7998, allocations: 1.439 MB / 0.5649 GB, free: 37.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006225/0.8005, allocations: 178.4 kB / 0.5651 GB, free: 37.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/0.801, allocations: 411.3 kB / 0.5655 GB, free: 36.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8011, allocations: 4 kB / 0.5655 GB, free: 36.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.8542, allocations: 28.44 MB / 0.5932 GB, free: 8.816 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.8545, allocations: 180.2 kB / 0.5934 GB, free: 8.586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/3.791, allocations: 0 / 0.5934 GB, free: 8.586 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)