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.0008345/0.0008344, allocations: 94.77 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009698/0.0009698, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002186/0.0002187, allocations: 11.94 kB / 307.9 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08511, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003515/0.08866, allocations: 3.374 MB / 362.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.09031, allocations: 0.9664 MB / 363.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.09064, allocations: 11.94 kB / 363.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.0909, allocations: 55.55 kB / 363.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.09133, allocations: 123 kB / 363.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.09175, allocations: 155.8 kB / 364.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006584/0.09243, allocations: 0.5835 MB / 364.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.09275, allocations: 191.2 kB / 364.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.09309, allocations: 191.1 kB / 365 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.09339, allocations: 218.9 kB / 365.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.09346, allocations: 24 kB / 365.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.09356, allocations: 27.94 kB / 365.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.09365, allocations: 83.67 kB / 365.4 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.09389, allocations: 264.3 kB / 365.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.09438, allocations: 0.5914 MB / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09439, allocations: 0 / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0944, allocations: 0 / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.09441, allocations: 0 / 366.2 MB, free: 6.312 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.001113/0.09553, allocations: 0.7028 MB / 366.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.09558, allocations: 16.03 kB / 366.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.824e-05/0.09568, allocations: 86.62 kB / 367 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.09588, allocations: 64.28 kB / 367.1 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.09628, allocations: 368.8 kB / 367.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.09632, allocations: 37.38 kB / 367.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.09639, allocations: 44.12 kB / 367.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.0971, allocations: 465.5 kB / 368 MB, free: 4.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.09713, allocations: 4 kB / 368 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.09718, allocations: 16 kB / 368 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.09719, allocations: 8 kB / 368 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.09777, allocations: 331.7 kB / 368.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.1, allocations: 1.886 MB / 370.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.1007, allocations: 0.6171 MB / 370.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.1013, allocations: 273.3 kB / 371.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1013, allocations: 8.312 kB / 371.1 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.1018, allocations: 273.2 kB / 371.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.1018, allocations: 4 kB / 371.4 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.1347/0.2365, allocations: 0.8512 MB / 372.2 MB, free: 19.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.2366, allocations: 84.53 kB / 372.3 MB, free: 19.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.237, allocations: 323 kB / 372.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.2371, allocations: 37.58 kB / 372.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2372, allocations: 223 kB / 372.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.2373, allocations: 136.5 kB / 373 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.2374, allocations: 50.34 kB / 373.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.2374, allocations: 348.3 kB / 373.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.2377, allocations: 124.5 kB / 373.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.2379, allocations: 257.9 kB / 373.8 MB, free: 18.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.2384, allocations: 388.2 kB / 374.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2384, allocations: 1 kB / 374.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008464/0.2393, allocations: 0.5134 MB / 374.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2393, allocations: 7.375 kB / 374.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2393, allocations: 4.656 kB / 374.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.2398, allocations: 156.4 kB / 374.8 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.24, allocations: 63.19 kB / 374.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.2423, allocations: 2.314 MB / 377.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.2425, allocations: 49.19 kB / 377.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2425, allocations: 21.75 kB / 377.3 MB, free: 16.79 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.0001556/0.2427, allocations: 173.2 kB / 377.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.2428, allocations: 45.08 kB / 377.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.2428, allocations: 45.77 kB / 377.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2428, allocations: 4.125 kB / 377.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2429, allocations: 0 / 377.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2429, allocations: 2.109 kB / 377.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.2441, allocations: 1.039 MB / 378.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2441, allocations: 0 / 378.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.2442, allocations: 43.59 kB / 378.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.2446, allocations: 146.6 kB / 378.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2446, allocations: 12.91 kB / 378.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.2466, allocations: 2.306 MB / 381.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2466, allocations: 0 / 381.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.2475, allocations: 0.7292 MB / 381.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.2476, allocations: 152.6 kB / 382 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2477, allocations: 14.56 kB / 382 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.2479, allocations: 14.41 kB / 382 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.248, allocations: 36.3 kB / 382 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.248, allocations: 15.11 kB / 382 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.2482, allocations: 231.4 kB / 382.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2482, allocations: 0 / 382.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005203/0.2487, allocations: 146.4 kB / 382.4 MB, free: 13.32 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.001094/0.2498, allocations: 1.275 MB / 383.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.2506, allocations: 0.5356 MB / 384.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2506, allocations: 4 kB / 384.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.2511, allocations: 378.3 kB / 384.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.2515, allocations: 78.06 kB / 384.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.2561, allocations: 4.27 MB / 388.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2564, allocations: 0.8329 MB / 389.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.2566, allocations: 40.5 kB / 389.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.2567, allocations: 148.6 kB / 390 MB, free: 8.199 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2567, allocations: 0 / 390 MB, free: 8.199 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.2776, allocations: 9.978 MB / 399.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.2777, allocations: 276.2 kB / 400.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.044, allocations: 0 / 400.2 MB, free: 4.293 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)