Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 106.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 190.6 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001003, allocations: 51.11 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/0.07613, allocations: 49.44 MB / 349.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003929/0.08009, allocations: 3.732 MB / 353.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.0812, allocations: 0.9002 MB / 354.2 MB, free: 88 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.08137, allocations: 8 kB / 354.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.08155, allocations: 59.53 kB / 354.2 MB, free: 20 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.08183, allocations: 123.1 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.08208, allocations: 143.8 kB / 354.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.08252, allocations: 0.5757 MB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.08279, allocations: 183.2 kB / 355.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.08298, allocations: 203.1 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.08321, allocations: 230.9 kB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.08327, allocations: 28 kB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.08334, allocations: 32 kB / 355.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.08343, allocations: 111.5 kB / 355.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.08364, allocations: 242.7 kB / 356.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.08405, allocations: 0.5878 MB / 356.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.08406, allocations: 4 kB / 356.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.08406, allocations: 0 / 356.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.08407, allocations: 0 / 356.7 MB, free: 13.57 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.001089/0.08517, allocations: 0.7845 MB / 357.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.08521, allocations: 12.03 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.951e-05/0.08529, allocations: 78.72 kB / 357.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.08538, allocations: 60.27 kB / 357.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.08573, allocations: 352.3 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.08577, allocations: 33.38 kB / 358 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.08583, allocations: 52.12 kB / 358 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.08649, allocations: 457.5 kB / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.08651, allocations: 0 / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.08656, allocations: 23.98 kB / 358.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.08657, allocations: 12 kB / 358.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.0871, allocations: 327.7 kB / 358.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.08911, allocations: 1.847 MB / 360.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.08977, allocations: 0.6048 MB / 361.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.09027, allocations: 281.3 kB / 361.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.09031, allocations: 8.312 kB / 361.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.09069, allocations: 269.1 kB / 361.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.0907, allocations: 0 / 361.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002012/0.09272, allocations: 0.85 MB / 362.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.09277, allocations: 81.11 kB / 362.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.09305, allocations: 316.3 kB / 363.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.09309, allocations: 37.7 kB / 363.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.09321, allocations: 220.2 kB / 363.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.09331, allocations: 138.1 kB / 363.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.09342, allocations: 82.25 kB / 363.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.09353, allocations: 346.8 kB / 363.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.09374, allocations: 121.1 kB / 364 MB, free: 5.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.09402, allocations: 256.9 kB / 364.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.0945, allocations: 386.6 kB / 364.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.09451, allocations: 0 / 364.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007535/0.09526, allocations: 0.5015 MB / 365.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.09529, allocations: 10.5 kB / 365.1 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.0953, allocations: 7.938 kB / 365.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.09572, allocations: 144.7 kB / 365.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.09594, allocations: 63.84 kB / 365.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.0982, allocations: 2.306 MB / 367.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.09842, allocations: 39.72 kB / 367.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.09845, allocations: 16 kB / 367.7 MB, free: 1.902 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.0001682/0.09863, allocations: 185.7 kB / 367.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.09868, allocations: 43.67 kB / 367.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.09877, allocations: 48.28 kB / 368 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.09878, allocations: 4 kB / 368 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.09878, allocations: 3.938 kB / 368 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.09879, allocations: 3.984 kB / 368 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.1, allocations: 1.02 MB / 369 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1001, allocations: 8 kB / 369 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1002, allocations: 35.92 kB / 369 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.1006, allocations: 148.7 kB / 369.2 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.1006, allocations: 12 kB / 369.2 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1219/0.2225, allocations: 2.292 MB / 371.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2226, allocations: 1.984 kB / 371.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2237, allocations: 0.7147 MB / 372.2 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2238, allocations: 147.3 kB / 372.3 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.2239, allocations: 13.34 kB / 372.4 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2241, allocations: 15.03 kB / 372.4 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2242, allocations: 37.7 kB / 372.4 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.2242, allocations: 11.52 kB / 372.4 MB, free: 23.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.2244, allocations: 218.6 kB / 372.6 MB, free: 23.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.2244, allocations: 0.7188 kB / 372.6 MB, free: 23.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.225, allocations: 153.3 kB / 372.8 MB, free: 23.85 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.001246/0.2263, allocations: 1.268 MB / 374.1 MB, free: 22.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007419/0.227, allocations: 0.533 MB / 374.6 MB, free: 22.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.227, allocations: 1.375 kB / 374.6 MB, free: 22.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.2275, allocations: 378.6 kB / 375 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.2279, allocations: 80.12 kB / 375 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.2322, allocations: 4.163 MB / 379.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2324, allocations: 0.8261 MB / 380 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.2326, allocations: 39.05 kB / 380.1 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2327, allocations: 136 kB / 380.2 MB, free: 18.85 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2327, allocations: 0 / 380.2 MB, free: 18.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.819/2.052, allocations: 9.956 MB / 390.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/2.052, allocations: 278.7 kB / 390.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/4.819, allocations: 1.312 kB / 390.4 MB, free: 15.6 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)