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.0009546/0.000955, allocations: 88.52 kB / 16.65 MB, free: 6.535 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.00112/0.00112, allocations: 173.9 kB / 17.56 MB, free: 6.184 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.499/1.499, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8 kB / 301.5 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 50.42 MB / 352 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004508/0.1167, allocations: 3.337 MB / 355.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1189, allocations: 0.8885 MB / 356.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000538/0.1195, allocations: 11.94 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1198, allocations: 55.53 kB / 356.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.1205, allocations: 130.9 kB / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.1211, allocations: 143.8 kB / 356.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.122, allocations: 0.5719 MB / 357.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.1225, allocations: 183.2 kB / 357.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.1229, allocations: 183.2 kB / 357.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.1233, allocations: 206.9 kB / 357.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.1234, allocations: 24 kB / 357.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.967e-05/0.1235, allocations: 28 kB / 357.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1236, allocations: 87.55 kB / 357.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.124, allocations: 260.4 kB / 358.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.1246, allocations: 0.5759 MB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1246, allocations: 0 / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1246, allocations: 0 / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.1246, allocations: 0 / 358.6 MB, free: 12.64 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.001527/0.1261, allocations: 0.6912 MB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1262, allocations: 8.031 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.1264, allocations: 82.7 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.1265, allocations: 56.28 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.1271, allocations: 368.1 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.1271, allocations: 29.38 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.1272, allocations: 56.11 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009024/0.1281, allocations: 457.5 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1281, allocations: 0 / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.1282, allocations: 20 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1282, allocations: 12 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.1289, allocations: 323.8 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1316, allocations: 1.875 MB / 362.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.1325, allocations: 0.6152 MB / 363.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/0.1331, allocations: 273.3 kB / 363.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.1332, allocations: 12.31 kB / 363.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/0.1337, allocations: 273.1 kB / 363.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.1337, allocations: 0 / 363.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002456/0.1362, allocations: 0.8578 MB / 364.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.1363, allocations: 81.11 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1366, allocations: 308.5 kB / 365 MB, free: 5.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1367, allocations: 37.7 kB / 365 MB, free: 5.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1368, allocations: 224.2 kB / 365.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1369, allocations: 142 kB / 365.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.137, allocations: 41.7 kB / 365.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1372, allocations: 346.8 kB / 365.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1374, allocations: 125 kB / 365.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.1378, allocations: 256.9 kB / 366.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.1383, allocations: 390.7 kB / 366.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1384, allocations: 0 / 366.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009575/0.1393, allocations: 0.5055 MB / 367 MB, free: 3.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1394, allocations: 15.97 kB / 367 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.1394, allocations: 7.938 kB / 367 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.1399, allocations: 148.7 kB / 367.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1401, allocations: 59.91 kB / 367.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.1432, allocations: 2.321 MB / 369.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.1435, allocations: 39.69 kB / 369.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1435, allocations: 16 kB / 369.6 MB, free: 1.027 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.0002365/0.1438, allocations: 185.8 kB / 369.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.1438, allocations: 39.67 kB / 369.8 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1439, allocations: 52.28 kB / 369.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.144, allocations: 4 kB / 369.9 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.144, allocations: 3.938 kB / 369.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.144, allocations: 0 / 369.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2182/0.3621, allocations: 1.019 MB / 370.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3622, allocations: 0 / 370.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.3625, allocations: 37 kB / 370.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007756/0.3633, allocations: 143.4 kB / 371.1 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.675e-05/0.3634, allocations: 9.125 kB / 371.1 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004214/0.3677, allocations: 2.318 MB / 373.4 MB, free: 22.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3677, allocations: 1.547 kB / 373.4 MB, free: 22.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.3697, allocations: 0.7234 MB / 374.1 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.3701, allocations: 148 kB / 374.3 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.3702, allocations: 14.3 kB / 374.3 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.3706, allocations: 16.47 kB / 374.3 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.3708, allocations: 34.09 kB / 374.3 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.3709, allocations: 14.25 kB / 374.4 MB, free: 22.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004362/0.3713, allocations: 221.4 kB / 374.6 MB, free: 22.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3713, allocations: 0 / 374.6 MB, free: 22.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3725, allocations: 145.9 kB / 374.7 MB, free: 22.15 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.002301/0.3748, allocations: 1.286 MB / 376 MB, free: 21.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.3763, allocations: 0.5314 MB / 376.5 MB, free: 21.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3763, allocations: 1.062 kB / 376.5 MB, free: 21.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008717/0.3772, allocations: 383.9 kB / 376.9 MB, free: 21.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3781, allocations: 76.5 kB / 377 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/0.3863, allocations: 4.211 MB / 381.2 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.3869, allocations: 0.8329 MB / 382 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.3873, allocations: 37.52 kB / 382.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.3875, allocations: 135.7 kB / 382.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3875, allocations: 0 / 382.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.4298, allocations: 9.786 MB / 392 MB, free: 14.65 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.4301, allocations: 278 kB / 392.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.566, allocations: 4.328 kB / 392.3 MB, free: 14.27 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)