Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_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.00133/0.00133, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001416/0.001416, allocations: 187 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.088, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004996/0.09304, allocations: 3.662 MB / 378.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.09502, allocations: 0.9552 MB / 379.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.0955, allocations: 11.94 kB / 379.3 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.0959, allocations: 79.23 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006963/0.09661, allocations: 146.7 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/0.09737, allocations: 155.8 kB / 379.7 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1858/0.2832, allocations: 0.6022 MB / 380.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005375/0.2838, allocations: 210.8 kB / 380.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.2842, allocations: 234.1 kB / 380.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.2846, allocations: 243.3 kB / 380.9 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.2848, allocations: 54.94 kB / 381 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2849, allocations: 54.66 kB / 381 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.285, allocations: 121.1 kB / 381.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.2853, allocations: 264.5 kB / 381.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009753/0.2863, allocations: 0.6235 MB / 382 MB, free: 8.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2863, allocations: 4.797 kB / 382 MB, free: 8.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2863, allocations: 0 / 382 MB, free: 8.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.2863, allocations: 0.6875 kB / 382.1 MB, free: 8.98 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001456/0.2878, allocations: 0.7717 MB / 382.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2879, allocations: 13.27 kB / 382.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.406e-05/0.2879, allocations: 77.27 kB / 382.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2881, allocations: 55.5 kB / 383 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.2885, allocations: 363.5 kB / 383.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.2886, allocations: 32.22 kB / 383.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.2886, allocations: 49.69 kB / 383.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008356/0.2895, allocations: 453.5 kB / 383.8 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2895, allocations: 7.469 kB / 383.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.2896, allocations: 15.45 kB / 383.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.2896, allocations: 10.31 kB / 383.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.2903, allocations: 318.4 kB / 384.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.2926, allocations: 1.816 MB / 386 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.2934, allocations: 0.609 MB / 386.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.294, allocations: 287.2 kB / 386.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.294, allocations: 8.844 kB / 386.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.2945, allocations: 266.7 kB / 387.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.2945, allocations: 1.125 kB / 387.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002319/0.2968, allocations: 0.8423 MB / 388 MB, free: 5.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.2969, allocations: 82.56 kB / 388.1 MB, free: 5.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.2973, allocations: 310.8 kB / 388.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2973, allocations: 37.88 kB / 388.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2974, allocations: 213.9 kB / 388.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.2975, allocations: 136.6 kB / 388.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.2977, allocations: 88.64 kB / 388.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.2978, allocations: 350.4 kB / 389.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.298, allocations: 120.4 kB / 389.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.2983, allocations: 254.4 kB / 389.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.2988, allocations: 376.9 kB / 389.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2988, allocations: 1.125 kB / 389.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008405/0.2997, allocations: 0.5096 MB / 390.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2997, allocations: 6.812 kB / 390.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2997, allocations: 3.406 kB / 390.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.3002, allocations: 154.3 kB / 390.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3005, allocations: 60.41 kB / 390.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.303, allocations: 2.551 MB / 393.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.3032, allocations: 37.12 kB / 393.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.3033, allocations: 17.97 kB / 393.3 MB, free: 1.988 MB / 318.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001788/0.3035, allocations: 176.2 kB / 393.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.3035, allocations: 40.56 kB / 393.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.3036, allocations: 48.52 kB / 393.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3036, allocations: 8.469 kB / 393.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3036, allocations: 3.938 kB / 393.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3037, allocations: 2.859 kB / 393.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.305, allocations: 1.021 MB / 394.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.3051, allocations: 0 / 394.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.3052, allocations: 36.83 kB / 394.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.3056, allocations: 157.2 kB / 394.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.3056, allocations: 11.69 kB / 394.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.3084, allocations: 2.53 MB / 397.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3085, allocations: 1.719 kB / 397.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3097, allocations: 0.7195 MB / 398 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.3099, allocations: 154.8 kB / 398.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.3099, allocations: 12.34 kB / 398.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3101, allocations: 16.44 kB / 398.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3103, allocations: 35.55 kB / 398.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.3103, allocations: 10.52 kB / 398.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3105, allocations: 218.9 kB / 398.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3105, allocations: 0 / 398.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006371/0.3112, allocations: 143.9 kB / 398.6 MB, free: 14.34 MB / 334.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001477/0.3127, allocations: 1.266 MB / 399.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.3136, allocations: 0.5369 MB / 400.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3137, allocations: 2.344 kB / 400.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.3142, allocations: 395 kB / 400.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.3147, allocations: 76.11 kB / 400.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.3206, allocations: 3.923 MB / 404.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.3212, allocations: 0.827 MB / 405.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.3214, allocations: 36.62 kB / 405.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.3216, allocations: 136.4 kB / 405.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3216, allocations: 0 / 405.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.3643, allocations: 11 MB / 416.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.16, allocations: 4.344 kB / 416.8 MB, free: 3.59 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)