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.005242/0.005242, allocations: 171.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03686/0.03686, allocations: 8.794 MB / 24.64 MB, free: 4.09 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.246/1.246, allocations: 223.2 MB / 250.7 MB, free: 6.492 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.0009708/0.0009708, allocations: 101.6 kB / 304 MB, free: 4.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 12 kB / 367.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2483, allocations: 52.53 MB / 419.7 MB, free: 48.22 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09705/0.3454, allocations: 86.03 MB / 0.4939 GB, free: 3.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.3457, allocations: 67.97 kB / 0.4939 GB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05552/0.4012, allocations: 21.91 MB / 0.5153 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4013, allocations: 0 / 0.5153 GB, free: 12.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.4014, allocations: 24 kB / 0.5153 GB, free: 12.89 MB / 394.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.004081/0.4055, allocations: 1.593 MB / 0.5169 GB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4056, allocations: 8.75 kB / 0.5169 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000547/0.4061, allocations: 181.2 kB / 0.5171 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.4067, allocations: 154.2 kB / 0.5172 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.4088, allocations: 0.9279 MB / 0.5181 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.4089, allocations: 86.23 kB / 0.5182 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.4092, allocations: 112 kB / 0.5183 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.4123, allocations: 1.642 MB / 0.5199 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.4123, allocations: 7.938 kB / 0.5199 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.4124, allocations: 47.95 kB / 0.52 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.4125, allocations: 54.22 kB / 0.52 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.4152, allocations: 1.477 MB / 0.5215 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008746/0.424, allocations: 5.041 MB / 0.5264 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.4265, allocations: 2.585 MB / 0.5289 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.4266, allocations: 9 kB / 0.5289 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4266, allocations: 43.56 kB / 0.529 GB, free: 14.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 4.709e-06/0.4267, allocations: 0 / 0.529 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.00765/0.4343, allocations: 4.023 MB / 0.5329 GB, free: 10.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.4344, allocations: 64.36 kB / 0.533 GB, free: 10.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.4359, allocations: 0.7888 MB / 0.5337 GB, free: 9.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.436, allocations: 41.7 kB / 0.5338 GB, free: 9.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.4364, allocations: 0.496 MB / 0.5343 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.4367, allocations: 315.3 kB / 0.5346 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.4368, allocations: 20 kB / 0.5346 GB, free: 8.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4369, allocations: 337.9 kB / 0.5349 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/0.4377, allocations: 0.4976 MB / 0.5354 GB, free: 7.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.4386, allocations: 0.5676 MB / 0.5359 GB, free: 7.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/0.4395, allocations: 0.5495 MB / 0.5365 GB, free: 6.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4395, allocations: 0 / 0.5365 GB, free: 6.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002535/0.4421, allocations: 1.573 MB / 0.538 GB, free: 4.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4421, allocations: 7.938 kB / 0.538 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4421, allocations: 0 / 0.538 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4432, allocations: 495 kB / 0.5385 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.4438, allocations: 143.8 kB / 0.5386 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008831/0.4526, allocations: 8.876 MB / 0.5473 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008021/0.4535, allocations: 51.97 kB / 0.5473 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.4537, allocations: 28.09 kB / 0.5474 GB, free: 10.76 MB / 426.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 () * Number of clocked 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.001006/0.4547, allocations: 0.5015 MB / 0.5479 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.455, allocations: 98.83 kB / 0.548 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.4553, allocations: 129.3 kB / 0.5481 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4553, allocations: 8 kB / 0.5481 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4554, allocations: 4 kB / 0.5481 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4554, allocations: 3.984 kB / 0.5481 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005882/0.4613, allocations: 3.212 MB / 0.5512 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4613, allocations: 0 / 0.5512 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.4618, allocations: 123.9 kB / 0.5514 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.4629, allocations: 482.9 kB / 0.5518 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.463, allocations: 16 kB / 0.5518 GB, free: 6.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2012/0.6642, allocations: 8.799 MB / 0.5604 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.6643, allocations: 4.906 kB / 0.5604 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.6683, allocations: 2.376 MB / 0.5627 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.6689, allocations: 290.6 kB / 0.563 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6691, allocations: 20.83 kB / 0.563 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.6696, allocations: 66.72 kB / 0.5631 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/0.6698, allocations: 91.36 kB / 0.5632 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.6699, allocations: 25.52 kB / 0.5632 GB, free: 113.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008272/0.6707, allocations: 0.6275 MB / 0.5638 GB, free: 113.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6707, allocations: 0 / 0.5638 GB, free: 113.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001174/0.6719, allocations: 309.6 kB / 0.5641 GB, free: 113.8 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 () * Number of clocked 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.003661/0.6756, allocations: 3.093 MB / 0.5671 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.6781, allocations: 1.794 MB / 0.5689 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6781, allocations: 0 / 0.5689 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.6798, allocations: 1.261 MB / 0.5701 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.681, allocations: 263 kB / 0.5704 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.6934, allocations: 8.512 MB / 0.5787 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008487/0.6943, allocations: 1.434 MB / 0.5801 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005779/0.6948, allocations: 184.1 kB / 0.5803 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.6953, allocations: 411.1 kB / 0.5807 GB, free: 107.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6953, allocations: 0 / 0.5807 GB, free: 107.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04275/0.738, allocations: 28.49 MB / 0.6085 GB, free: 93.42 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.7382, allocations: 194.7 kB / 0.6087 GB, free: 93.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.236, allocations: 3.938 kB / 0.6087 GB, free: 93.18 MB / 426.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)