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.001188/0.001188, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 54.91 kB / 307.1 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1013, allocations: 50.53 MB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005874/0.1072, allocations: 3.737 MB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1092, allocations: 0.9975 MB / 362.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.1097, allocations: 8 kB / 362.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.11, allocations: 79.16 kB / 362.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1105, allocations: 146.7 kB / 362.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.111, allocations: 175.7 kB / 362.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.1118, allocations: 0.6148 MB / 363.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.1122, allocations: 212.1 kB / 363.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.1126, allocations: 239.1 kB / 363.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.113, allocations: 250.9 kB / 364 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1131, allocations: 59.98 kB / 364.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1132, allocations: 68 kB / 364.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1134, allocations: 119.5 kB / 364.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.1136, allocations: 278.6 kB / 364.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.1142, allocations: 0.6307 MB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1142, allocations: 4 kB / 365.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1142, allocations: 0 / 365.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.1143, allocations: 0 / 365.2 MB, free: 6.332 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.001415/0.1157, allocations: 0.7884 MB / 366 MB, free: 5.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1157, allocations: 8.031 kB / 366 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.796e-05/0.1158, allocations: 82.7 kB / 366.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.116, allocations: 64.27 kB / 366.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.1165, allocations: 376.7 kB / 366.5 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.1165, allocations: 41.38 kB / 366.5 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.1166, allocations: 44.12 kB / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1174, allocations: 457.5 kB / 367 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1174, allocations: 7.875 kB / 367 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.1175, allocations: 16 kB / 367 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1175, allocations: 12 kB / 367.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.1181, allocations: 327.8 kB / 367.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.1205, allocations: 1.871 MB / 369.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.1213, allocations: 0.6176 MB / 369.9 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.1218, allocations: 280.4 kB / 370.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1219, allocations: 4.328 kB / 370.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.1223, allocations: 271.7 kB / 370.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1223, allocations: 0 / 370.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.1735/0.2959, allocations: 0.8393 MB / 371.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.296, allocations: 86.73 kB / 371.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.2964, allocations: 320.4 kB / 371.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.2965, allocations: 35.5 kB / 371.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2967, allocations: 227.7 kB / 371.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2968, allocations: 131.6 kB / 372 MB, free: 20.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.297, allocations: 84.2 kB / 372.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2971, allocations: 348.2 kB / 372.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.2974, allocations: 121.2 kB / 372.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.2978, allocations: 256.9 kB / 372.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.2984, allocations: 384.8 kB / 373.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2984, allocations: 1.344 kB / 373.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001068/0.2995, allocations: 0.5092 MB / 373.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.2995, allocations: 6.062 kB / 373.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2996, allocations: 4.812 kB / 373.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.3001, allocations: 155.2 kB / 373.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.3003, allocations: 63.53 kB / 373.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.3035, allocations: 2.537 MB / 376.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3039, allocations: 47.86 kB / 376.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.3039, allocations: 18.56 kB / 376.5 MB, free: 17.16 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.0003264/0.3043, allocations: 179.4 kB / 376.7 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.3044, allocations: 43.56 kB / 376.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3045, allocations: 44.75 kB / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3045, allocations: 4.125 kB / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.3045, allocations: 0 / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3045, allocations: 4.5 kB / 376.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.3063, allocations: 1.033 MB / 377.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.3063, allocations: 2.656 kB / 377.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.3065, allocations: 39.33 kB / 377.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.3069, allocations: 147.1 kB / 378 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.307, allocations: 12.92 kB / 378 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.3093, allocations: 2.535 MB / 380.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3094, allocations: 1.312 kB / 380.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.3106, allocations: 0.7158 MB / 381.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3107, allocations: 152.9 kB / 381.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.3108, allocations: 7.062 kB / 381.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.311, allocations: 20.92 kB / 381.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.3111, allocations: 37.44 kB / 381.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3111, allocations: 12.66 kB / 381.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.3114, allocations: 228.2 kB / 381.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3114, allocations: 0 / 381.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.312, allocations: 152.1 kB / 381.9 MB, free: 13.5 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.001284/0.3133, allocations: 1.266 MB / 383.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3144, allocations: 0.5558 MB / 383.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3144, allocations: 0 / 383.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.3149, allocations: 383.6 kB / 384.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.3155, allocations: 79.53 kB / 384.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.3213, allocations: 4.066 MB / 388.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3217, allocations: 0.8323 MB / 389.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.3219, allocations: 34.42 kB / 389.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.322, allocations: 149.6 kB / 389.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.322, allocations: 0 / 389.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04029/0.3623, allocations: 10.74 MB / 400 MB, free: 4.309 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.33, allocations: 12.81 kB / 400 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)