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.001047/0.001047, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 60.09 kB / 306.6 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09861, allocations: 50.54 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005503/0.1042, allocations: 3.771 MB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1064, allocations: 0.9741 MB / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.1069, allocations: 12 kB / 361.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.1073, allocations: 59.53 kB / 361.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.1082, allocations: 123 kB / 362 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.1089, allocations: 159.9 kB / 362.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.1101, allocations: 0.6109 MB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.1107, allocations: 216 kB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.1112, allocations: 235.1 kB / 363.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.1118, allocations: 254.8 kB / 363.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.1121, allocations: 56 kB / 363.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.1124, allocations: 67.98 kB / 363.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.1126, allocations: 119.6 kB / 363.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.1131, allocations: 278.6 kB / 364 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.114, allocations: 0.6346 MB / 364.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1141, allocations: 4 kB / 364.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1141, allocations: 4 kB / 364.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.1141, allocations: 0 / 364.7 MB, free: 6.48 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.002212/0.1163, allocations: 0.7845 MB / 365.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.1164, allocations: 12.03 kB / 365.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.1166, allocations: 82.7 kB / 365.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.1169, allocations: 68.27 kB / 365.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.1177, allocations: 368.7 kB / 366 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.1177, allocations: 29.38 kB / 366 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.1178, allocations: 56.05 kB / 366 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.119, allocations: 457.6 kB / 366.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.119, allocations: 4 kB / 366.5 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.1191, allocations: 16 kB / 366.5 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1191, allocations: 8 kB / 366.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008936/0.12, allocations: 327.7 kB / 366.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.1236, allocations: 1.863 MB / 368.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1246, allocations: 0.6209 MB / 369.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.1254, allocations: 274.1 kB / 369.6 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.1254, allocations: 4.328 kB / 369.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.126, allocations: 269.2 kB / 369.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.1261, allocations: 0 / 369.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.00304/0.1291, allocations: 0.85 MB / 370.7 MB, free: 96 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1318/0.2609, allocations: 81.73 kB / 370.8 MB, free: 20.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2614, allocations: 320.2 kB / 371.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.2614, allocations: 35.58 kB / 371.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2616, allocations: 224.6 kB / 371.3 MB, free: 20.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.2617, allocations: 140.5 kB / 371.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2618, allocations: 84.73 kB / 371.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.2619, allocations: 352.3 kB / 371.9 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.2621, allocations: 119.9 kB / 372 MB, free: 19.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.2624, allocations: 253.7 kB / 372.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.2629, allocations: 379.6 kB / 372.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2629, allocations: 1.5 kB / 372.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00083/0.2637, allocations: 0.5072 MB / 373.2 MB, free: 19.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2637, allocations: 14.44 kB / 373.2 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2638, allocations: 8.344 kB / 373.2 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.2642, allocations: 147.2 kB / 373.3 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2645, allocations: 68.2 kB / 373.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.2668, allocations: 2.541 MB / 375.9 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.2671, allocations: 42.78 kB / 376 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2671, allocations: 19.58 kB / 376 MB, free: 17.32 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.0001774/0.2673, allocations: 178.9 kB / 376.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2674, allocations: 39.83 kB / 376.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.2675, allocations: 52.92 kB / 376.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2675, allocations: 5.922 kB / 376.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2675, allocations: 1.391 kB / 376.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2675, allocations: 2.234 kB / 376.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.2688, allocations: 1.028 MB / 377.3 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2688, allocations: 0.7031 kB / 377.3 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.269, allocations: 40.45 kB / 377.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.2694, allocations: 149.1 kB / 377.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.2694, allocations: 11.67 kB / 377.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.2716, allocations: 2.534 MB / 380 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2716, allocations: 5.25 kB / 380 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009755/0.2726, allocations: 0.7132 MB / 380.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.2727, allocations: 152.5 kB / 380.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2728, allocations: 15.41 kB / 380.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.273, allocations: 17.7 kB / 380.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2731, allocations: 39.33 kB / 381 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2732, allocations: 10.17 kB / 381 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.2734, allocations: 228.8 kB / 381.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2734, allocations: 0 / 381.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005795/0.274, allocations: 145.4 kB / 381.3 MB, free: 13.65 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.001139/0.2751, allocations: 1.263 MB / 382.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.2761, allocations: 0.5554 MB / 383.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2761, allocations: 2.094 kB / 383.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.2766, allocations: 381.8 kB / 383.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.2771, allocations: 85.48 kB / 383.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.2819, allocations: 4.238 MB / 387.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2822, allocations: 0.8328 MB / 388.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.2824, allocations: 40.23 kB / 388.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2825, allocations: 143.9 kB / 388.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2825, allocations: 1.156 kB / 388.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.309, allocations: 10.55 MB / 399.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.3092, allocations: 279.9 kB / 399.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.355, allocations: 0 / 399.7 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)