Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009715/0.0009715, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 67.77 kB / 306.4 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.0833, allocations: 50.53 MB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004195/0.08752, allocations: 3.786 MB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.08905, allocations: 0.9741 MB / 361.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.08936, allocations: 15.94 kB / 361.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.08955, allocations: 51.55 kB / 361.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.08986, allocations: 123 kB / 361.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.09019, allocations: 155.8 kB / 362 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.09066, allocations: 0.5797 MB / 362.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.09093, allocations: 187.2 kB / 362.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.09118, allocations: 207.1 kB / 363 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.09141, allocations: 238.8 kB / 363.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.09148, allocations: 32 kB / 363.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.09158, allocations: 36 kB / 363.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.09166, allocations: 99.53 kB / 363.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.09186, allocations: 250.7 kB / 363.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.09231, allocations: 0.6033 MB / 364.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.09232, allocations: 4 kB / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.09233, allocations: 0 / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09234, allocations: 0 / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001095/0.09344, allocations: 0.7884 MB / 365 MB, free: 5.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.09347, allocations: 8.031 kB / 365 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.424e-05/0.09355, allocations: 86.7 kB / 365.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.09373, allocations: 68.27 kB / 365.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.0941, allocations: 372.7 kB / 365.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.09414, allocations: 33.38 kB / 365.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.0942, allocations: 48.12 kB / 365.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.09495, allocations: 461.5 kB / 366.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.09498, allocations: 0 / 366.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.09503, allocations: 23.92 kB / 366.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.09505, allocations: 12 kB / 366.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.09563, allocations: 327.7 kB / 366.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.09792, allocations: 1.871 MB / 368.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.09865, allocations: 0.6094 MB / 368.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.09916, allocations: 276.2 kB / 369.2 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.0992, allocations: 4.328 kB / 369.2 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.09962, allocations: 265.2 kB / 369.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.09963, allocations: 0 / 369.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.00211/0.1017, allocations: 0.8422 MB / 370.3 MB, free: 432 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.1018, allocations: 89.11 kB / 370.4 MB, free: 324 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1337/0.2355, allocations: 322 kB / 370.7 MB, free: 19.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.2356, allocations: 34.8 kB / 370.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2358, allocations: 224.7 kB / 370.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.2359, allocations: 135.8 kB / 371.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.236, allocations: 87.77 kB / 371.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.2361, allocations: 348.4 kB / 371.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.2363, allocations: 121 kB / 371.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.2366, allocations: 257 kB / 371.8 MB, free: 19.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.2371, allocations: 382.1 kB / 372.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2371, allocations: 1.844 kB / 372.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008255/0.2379, allocations: 0.5111 MB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2379, allocations: 7.219 kB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.238, allocations: 3.562 kB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.2384, allocations: 150.8 kB / 372.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2386, allocations: 66.59 kB / 373 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2408, allocations: 2.313 MB / 375.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.2411, allocations: 43.89 kB / 375.3 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.2411, allocations: 27.02 kB / 375.3 MB, free: 17.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.2413, allocations: 172.1 kB / 375.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.2413, allocations: 44.36 kB / 375.5 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.2414, allocations: 45.47 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2414, allocations: 4.5 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2414, allocations: 0 / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2415, allocations: 2.391 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2427, allocations: 1.033 MB / 376.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2428, allocations: 1.375 kB / 376.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2429, allocations: 36.61 kB / 376.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.2433, allocations: 153.5 kB / 376.8 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.2433, allocations: 11.75 kB / 376.8 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.2453, allocations: 2.294 MB / 379.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2453, allocations: 1.25 kB / 379.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.2462, allocations: 0.7206 MB / 379.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.2464, allocations: 152.5 kB / 380 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.2464, allocations: 11.45 kB / 380 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2466, allocations: 16.5 kB / 380 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.2467, allocations: 37.23 kB / 380.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2468, allocations: 14 kB / 380.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.247, allocations: 231.8 kB / 380.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.247, allocations: 0 / 380.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.2475, allocations: 145.4 kB / 380.4 MB, free: 13.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.2487, allocations: 1.271 MB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.2495, allocations: 0.5272 MB / 382.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2495, allocations: 4.062 kB / 382.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.2499, allocations: 371 kB / 382.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2504, allocations: 79.33 kB / 382.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.2548, allocations: 4.242 MB / 386.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.255, allocations: 0.8296 MB / 387.8 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.2552, allocations: 38.39 kB / 387.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2553, allocations: 144.3 kB / 387.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2553, allocations: 0 / 387.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2653/0.5206, allocations: 10.14 MB / 398.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.5208, allocations: 279 kB / 398.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.335, allocations: 3.938 kB / 398.4 MB, free: 5.137 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)