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.001456/0.001456, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06127/0.06127, allocations: 8.723 MB / 16.79 MB, free: 3.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.5 MB / 240.9 MB, free: 13.21 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.001125/0.001125, allocations: 93.72 kB / 293.9 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 0 / 352.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 52.55 MB / 405.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4787, allocations: 85.3 MB / 490.6 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.479, allocations: 64.81 kB / 490.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05341/0.5324, allocations: 21.72 MB / 0.5003 GB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5324, allocations: 0 / 0.5003 GB, free: 12.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.705e-05/0.5325, allocations: 31.94 kB / 0.5004 GB, free: 12.9 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.002938/0.5355, allocations: 1.446 MB / 0.5018 GB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.5355, allocations: 11.98 kB / 0.5018 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.5358, allocations: 154.2 kB / 0.5019 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.5374, allocations: 0.9164 MB / 0.5028 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.5374, allocations: 36 kB / 0.5029 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.5376, allocations: 64 kB / 0.5029 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002098/0.5397, allocations: 1.324 MB / 0.5042 GB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.5419, allocations: 1.438 MB / 0.5056 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5419, allocations: 3.938 kB / 0.5056 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.5421, allocations: 8 kB / 0.5056 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.5421, allocations: 46.23 kB / 0.5057 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007045/0.5492, allocations: 4.822 MB / 0.5104 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.5513, allocations: 2.49 MB / 0.5128 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.5524, allocations: 0.8165 MB / 0.5136 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.5525, allocations: 10.19 kB / 0.5136 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.5526, allocations: 43.34 kB / 0.5137 GB, free: 14.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.968e-06/0.5526, allocations: 0 / 0.5137 GB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.00396/0.5565, allocations: 2.607 MB / 0.5162 GB, free: 12.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5566, allocations: 60.19 kB / 0.5163 GB, free: 11.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009537/0.5575, allocations: 0.6989 MB / 0.517 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.5576, allocations: 25.7 kB / 0.517 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.558, allocations: 0.4998 MB / 0.5175 GB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.5582, allocations: 299.6 kB / 0.5178 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.5582, allocations: 0 / 0.5178 GB, free: 10.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5584, allocations: 394.8 kB / 0.5181 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.559, allocations: 454.4 kB / 0.5186 GB, free: 9.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.5597, allocations: 0.5021 MB / 0.5191 GB, free: 9.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.5603, allocations: 0.4981 MB / 0.5195 GB, free: 8.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5603, allocations: 0 / 0.5195 GB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002066/0.5624, allocations: 1.422 MB / 0.5209 GB, free: 7.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5624, allocations: 4 kB / 0.5209 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5624, allocations: 4.062 kB / 0.5209 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5635, allocations: 479 kB / 0.5214 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.564, allocations: 147.8 kB / 0.5215 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009207/0.5733, allocations: 8.428 MB / 0.5298 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.5741, allocations: 36.2 kB / 0.5298 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.5741, allocations: 31.98 kB / 0.5298 GB, free: 13.57 MB / 410.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.0002179/0.5744, allocations: 120.9 kB / 0.53 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001969/0.5763, allocations: 1.303 MB / 0.5312 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.5765, allocations: 86.97 kB / 0.5313 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.5769, allocations: 117 kB / 0.5314 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5769, allocations: 8 kB / 0.5314 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5769, allocations: 10.11 kB / 0.5314 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.5769, allocations: 3.984 kB / 0.5314 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/0.5817, allocations: 2.875 MB / 0.5342 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5817, allocations: 4 kB / 0.5343 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.5822, allocations: 127.9 kB / 0.5344 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009938/0.5833, allocations: 467 kB / 0.5348 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.5833, allocations: 13.86 kB / 0.5348 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008504/0.5918, allocations: 8.343 MB / 0.543 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5919, allocations: 4.031 kB / 0.543 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.5951, allocations: 2.159 MB / 0.5451 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.596, allocations: 288 kB / 0.5454 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5961, allocations: 4 kB / 0.5454 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.5967, allocations: 59.86 kB / 0.5454 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.597, allocations: 80.66 kB / 0.5455 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.597, allocations: 28 kB / 0.5455 GB, free: 12.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009645/0.598, allocations: 0.5498 MB / 0.5461 GB, free: 12.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.598, allocations: 0 / 0.5461 GB, free: 12.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001388/0.5994, allocations: 276 kB / 0.5463 GB, free: 12.04 MB / 426.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.003601/0.603, allocations: 2.861 MB / 0.5491 GB, free: 9.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.6055, allocations: 1.627 MB / 0.5507 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6055, allocations: 0 / 0.5507 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.607, allocations: 1.154 MB / 0.5518 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6081, allocations: 226.8 kB / 0.5521 GB, free: 6.047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.6129, allocations: 2.613 MB / 0.5546 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.614, allocations: 1.447 MB / 0.556 GB, free: 1.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.6145, allocations: 175.3 kB / 0.5562 GB, free: 1.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.6151, allocations: 403.3 kB / 0.5566 GB, free: 1.34 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6151, allocations: 0 / 0.5566 GB, free: 1.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.377/0.9921, allocations: 25.58 MB / 0.5815 GB, free: 113.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.9923, allocations: 121.5 kB / 0.5817 GB, free: 112.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.78, allocations: 5.344 kB / 0.5817 GB, free: 112.9 MB / 442.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)