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.001088/0.001088, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001086/0.001086, allocations: 192 kB / 18.51 MB, free: 4.641 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.307/1.307, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001253/0.001253, allocations: 63.91 kB / 280.8 MB, free: 3.051 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08413/0.0854, allocations: 46.62 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005218/0.09064, allocations: 3.659 MB / 331.1 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.09252, allocations: 0.9477 MB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.0929, allocations: 11.94 kB / 332 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.09321, allocations: 83.22 kB / 332.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.09367, allocations: 142.6 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.09406, allocations: 163.8 kB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.09474, allocations: 0.5991 MB / 333 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.09511, allocations: 207.4 kB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.09543, allocations: 223.2 kB / 333.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.09576, allocations: 246.9 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.946e-05/0.09586, allocations: 55.94 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.09596, allocations: 56 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.09607, allocations: 119.6 kB / 333.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.09633, allocations: 266.7 kB / 334.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000553/0.09689, allocations: 0.6112 MB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.0969, allocations: 3.938 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09691, allocations: 4 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.09694, allocations: 4 kB / 334.8 MB, free: 12.94 MB / 286.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.001344/0.09828, allocations: 0.765 MB / 335.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.09833, allocations: 15.89 kB / 335.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.357e-05/0.09842, allocations: 82.7 kB / 335.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.09852, allocations: 52.38 kB / 335.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.09894, allocations: 364.1 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.09897, allocations: 29.38 kB / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.09904, allocations: 48.12 kB / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.09972, allocations: 453.5 kB / 336.6 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.09975, allocations: 3.938 kB / 336.6 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.09979, allocations: 16 kB / 336.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.09981, allocations: 12 kB / 336.6 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.1004, allocations: 319.8 kB / 336.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.1026, allocations: 1.828 MB / 338.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.1033, allocations: 0.6207 MB / 339.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.1038, allocations: 269.4 kB / 339.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1039, allocations: 8.328 kB / 339.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.1043, allocations: 269.1 kB / 339.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1043, allocations: 0 / 339.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002135/0.1064, allocations: 0.8393 MB / 340.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.1065, allocations: 89.09 kB / 340.8 MB, free: 6.547 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.1069, allocations: 304.6 kB / 341.1 MB, free: 6.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.1069, allocations: 37.7 kB / 341.1 MB, free: 6.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1071, allocations: 216.4 kB / 341.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1072, allocations: 138 kB / 341.5 MB, free: 5.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1073, allocations: 82.25 kB / 341.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1075, allocations: 354.7 kB / 341.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1077, allocations: 117.1 kB / 342 MB, free: 5.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.108, allocations: 257 kB / 342.3 MB, free: 4.977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.1085, allocations: 377.9 kB / 342.6 MB, free: 4.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1085, allocations: 0 / 342.6 MB, free: 4.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008574/0.1094, allocations: 0.5089 MB / 343.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1094, allocations: 4 kB / 343.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1095, allocations: 4 kB / 343.2 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.1099, allocations: 156.3 kB / 343.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1102, allocations: 67.78 kB / 343.4 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.113, allocations: 2.553 MB / 345.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.1134, allocations: 43.62 kB / 346 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1134, allocations: 20 kB / 346 MB, free: 1.055 MB / 286.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.0002117/0.1136, allocations: 174 kB / 346.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.1137, allocations: 35.62 kB / 346.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.701e-05/0.1138, allocations: 48.3 kB / 346.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.1138, allocations: 11.92 kB / 346.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1138, allocations: 0 / 346.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1138, allocations: 0 / 346.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1153, allocations: 1.028 MB / 347.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1153, allocations: 0 / 347.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1155, allocations: 39.97 kB / 347.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.1158, allocations: 144.1 kB / 347.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.1159, allocations: 11.94 kB / 347.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/0.1185, allocations: 2.538 MB / 350 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1186, allocations: 0 / 350 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1196, allocations: 0.7156 MB / 350.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.1198, allocations: 156.5 kB / 350.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.1199, allocations: 11.94 kB / 350.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1201, allocations: 19.98 kB / 350.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1202, allocations: 31.95 kB / 351 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1203, allocations: 12 kB / 351 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1205, allocations: 227.1 kB / 351.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1205, allocations: 0 / 351.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005798/0.1211, allocations: 139.8 kB / 351.3 MB, free: 11.47 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,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.00152/0.1226, allocations: 1.27 MB / 352.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1238, allocations: 0.5612 MB / 353.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1238, allocations: 0 / 353.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.1244, allocations: 382.3 kB / 353.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1248, allocations: 85.11 kB / 353.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.1303, allocations: 3.987 MB / 357.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1307, allocations: 0.824 MB / 358.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1309, allocations: 43.3 kB / 358.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.1311, allocations: 139.4 kB / 358.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of SimCode: time 2.314e-06/0.1311, allocations: 0 / 358.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06735/0.1984, allocations: 10.53 MB / 369.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.46, allocations: 4.375 kB / 369.1 MB, free: 9.312 MB / 318.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)