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.0009332/0.0009332, allocations: 94.92 kB / 16.94 MB, free: 5.98 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.001018/0.001018, allocations: 179.7 kB / 17.82 MB, free: 5.652 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.468/1.468, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004737/0.0004738, allocations: 8 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.0919, allocations: 47.58 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003168/0.09511, allocations: 2.972 MB / 331.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.0965, allocations: 0.9484 MB / 332.4 MB, free: 44 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.09669, allocations: 7.938 kB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.09686, allocations: 51.7 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.09718, allocations: 167.5 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.09744, allocations: 107.6 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.09788, allocations: 403 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.09822, allocations: 149 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.09844, allocations: 183.3 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.0987, allocations: 199.1 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.09877, allocations: 24 kB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.09883, allocations: 20 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.09892, allocations: 83.66 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.09903, allocations: 121.4 kB / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.09944, allocations: 466.7 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.09945, allocations: 0 / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09946, allocations: 0 / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.09947, allocations: 0 / 334.3 MB, free: 14.08 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.001179/0.1007, allocations: 0.6908 MB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1007, allocations: 8.031 kB / 335 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.878e-05/0.1008, allocations: 86.5 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.1009, allocations: 55.34 kB / 335.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1013, allocations: 347.1 kB / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1013, allocations: 36.95 kB / 335.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.1014, allocations: 40 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.1021, allocations: 441.6 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1021, allocations: 3.938 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.1022, allocations: 23.98 kB / 336 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1022, allocations: 16 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.1028, allocations: 315.8 kB / 336.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.105, allocations: 1.844 MB / 338.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.1057, allocations: 0.6163 MB / 338.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1057, allocations: 4.328 kB / 338.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.1061, allocations: 265.2 kB / 339.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.1061, allocations: 0 / 339.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.00215/0.1083, allocations: 0.8471 MB / 339.9 MB, free: 8.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1084, allocations: 89.05 kB / 340 MB, free: 8.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1087, allocations: 312.5 kB / 340.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1087, allocations: 33.7 kB / 340.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1089, allocations: 212.4 kB / 340.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.109, allocations: 138 kB / 340.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.109, allocations: 12 kB / 340.7 MB, free: 7.328 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1091, allocations: 346.8 kB / 341 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1094, allocations: 121.1 kB / 341.1 MB, free: 6.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.1096, allocations: 253 kB / 341.4 MB, free: 6.562 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1099, allocations: 147.4 kB / 341.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1099, allocations: 0 / 341.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007836/0.1107, allocations: 0.5134 MB / 342 MB, free: 5.895 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1107, allocations: 12.03 kB / 342.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1107, allocations: 4 kB / 342.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.1112, allocations: 144.7 kB / 342.2 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.1114, allocations: 67.84 kB / 342.3 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.1139, allocations: 2.342 MB / 344.6 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1141, allocations: 43.67 kB / 344.6 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1142, allocations: 20 kB / 344.7 MB, free: 3.133 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.1144, allocations: 178.4 kB / 344.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.1144, allocations: 47.47 kB / 344.9 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.1145, allocations: 48.3 kB / 344.9 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1145, allocations: 4 kB / 344.9 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1145, allocations: 0 / 344.9 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1145, allocations: 0 / 344.9 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.1158, allocations: 1.011 MB / 345.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1158, allocations: 0 / 345.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.116, allocations: 31.98 kB / 346 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.1164, allocations: 144.8 kB / 346.1 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1164, allocations: 15.98 kB / 346.1 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.1187, allocations: 2.338 MB / 348.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1188, allocations: 0 / 348.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1198, allocations: 0.7078 MB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.12, allocations: 148.6 kB / 349.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.12, allocations: 23.88 kB / 349.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1202, allocations: 12 kB / 349.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.1203, allocations: 43.94 kB / 349.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1204, allocations: 8 kB / 349.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1206, allocations: 219.1 kB / 349.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1206, allocations: 0 / 349.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.1211, allocations: 143.7 kB / 349.8 MB, free: 13.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.1225, allocations: 1.269 MB / 351 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.1234, allocations: 0.5383 MB / 351.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1234, allocations: 0 / 351.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.124, allocations: 387.1 kB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1243, allocations: 73.34 kB / 352 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.1272, allocations: 3.796 MB / 355.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.1278, allocations: 0.836 MB / 356.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1279, allocations: 35.31 kB / 356.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.1281, allocations: 139.4 kB / 356.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1281, allocations: 0 / 356.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1515, allocations: 9.368 MB / 366.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.1518, allocations: 260.2 kB / 366.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.967, allocations: 0 / 366.4 MB, free: 12.8 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat