Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002172/0.002172, allocations: 178.3 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 77.75 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 4.518e-05/4.549e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 47.57 MB / 362.5 MB, free: 45.76 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4576, allocations: 80.08 MB / 442.5 MB, free: 6.117 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.4579, allocations: 79.95 kB / 442.6 MB, free: 6.039 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.031/0.489, allocations: 7.032 MB / 449.6 MB, free: 15.02 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.489, allocations: 0 / 449.6 MB, free: 15.02 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.772e-05/0.4891, allocations: 16 kB / 449.7 MB, free: 15 MB / 347.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.001573/0.4907, allocations: 0.6475 MB / 450.3 MB, free: 14.31 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4907, allocations: 12.03 kB / 450.3 MB, free: 14.3 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.4909, allocations: 51.44 kB / 450.4 MB, free: 14.25 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.4917, allocations: 363.4 kB / 450.7 MB, free: 13.85 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.4917, allocations: 12 kB / 450.7 MB, free: 13.84 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4919, allocations: 27.98 kB / 450.8 MB, free: 13.81 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008623/0.4927, allocations: 270.6 kB / 451 MB, free: 13.55 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.4937, allocations: 382.6 kB / 451.4 MB, free: 13.14 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.4938, allocations: 4 kB / 451.4 MB, free: 13.14 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.4938, allocations: 0 / 451.4 MB, free: 13.14 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.4939, allocations: 12 kB / 451.4 MB, free: 13.13 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.4977, allocations: 1.767 MB / 453.2 MB, free: 11.27 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4988, allocations: 0.5771 MB / 453.8 MB, free: 10.63 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.4994, allocations: 209.9 kB / 454 MB, free: 10.42 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.4994, allocations: 4.328 kB / 454 MB, free: 10.42 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/0.5001, allocations: 248.8 kB / 454.2 MB, free: 10.16 MB / 347.1 MB Notification: Performance of pre-optimization done (n=43): time 2.926e-06/0.5001, allocations: 0 / 454.2 MB, free: 10.16 MB / 347.1 MB Notification: Performance of matching and sorting (n=43): time 0.00143/0.5015, allocations: 417.7 kB / 454.6 MB, free: 9.742 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.5016, allocations: 89.06 kB / 454.7 MB, free: 9.637 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.5021, allocations: 241.2 kB / 454.9 MB, free: 9.395 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.5022, allocations: 29.7 kB / 455 MB, free: 9.359 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.5024, allocations: 266.7 kB / 455.2 MB, free: 9.098 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.5026, allocations: 130.1 kB / 455.4 MB, free: 8.969 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.5026, allocations: 0 / 455.4 MB, free: 8.969 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5028, allocations: 334.8 kB / 455.7 MB, free: 8.633 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.5031, allocations: 101.1 kB / 455.8 MB, free: 8.535 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.5035, allocations: 223 kB / 456 MB, free: 8.262 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.5038, allocations: 119.9 kB / 456.1 MB, free: 8.145 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.5038, allocations: 4 kB / 456.1 MB, free: 8.141 MB / 347.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001221/0.5051, allocations: 427.8 kB / 456.5 MB, free: 7.719 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5051, allocations: 4 kB / 456.5 MB, free: 7.715 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5052, allocations: 7.938 kB / 456.6 MB, free: 7.707 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000738/0.5059, allocations: 147.5 kB / 456.7 MB, free: 7.562 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.5064, allocations: 68.12 kB / 456.8 MB, free: 7.496 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.5105, allocations: 2.202 MB / 459 MB, free: 5.18 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.511, allocations: 39.62 kB / 459 MB, free: 5.141 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.5111, allocations: 20 kB / 459 MB, free: 5.121 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001875/0.5113, allocations: 120.8 kB / 459.1 MB, free: 4.996 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00127/0.5125, allocations: 413.8 kB / 459.5 MB, free: 4.582 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.5127, allocations: 39.67 kB / 459.6 MB, free: 4.543 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.5128, allocations: 48.22 kB / 459.6 MB, free: 4.492 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5128, allocations: 8 kB / 459.6 MB, free: 4.484 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5129, allocations: 0 / 459.6 MB, free: 4.484 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.5129, allocations: 3.984 kB / 459.6 MB, free: 4.48 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.5148, allocations: 0.8869 MB / 460.5 MB, free: 3.547 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5149, allocations: 7.984 kB / 460.5 MB, free: 3.539 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.5152, allocations: 35.98 kB / 460.6 MB, free: 3.504 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006536/0.5159, allocations: 134.5 kB / 460.7 MB, free: 3.371 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.516, allocations: 3 kB / 460.7 MB, free: 3.371 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.5199, allocations: 2.222 MB / 462.9 MB, free: 1.039 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.52, allocations: 0 / 462.9 MB, free: 1.039 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5216, allocations: 0.6452 MB / 463.6 MB, free: 380 kB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.522, allocations: 152.5 kB / 463.7 MB, free: 208 kB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.5221, allocations: 3.984 kB / 463.7 MB, free: 204 kB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.5225, allocations: 8 kB / 463.7 MB, free: 196 kB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.5226, allocations: 35.91 kB / 463.8 MB, free: 160 kB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.5227, allocations: 15.98 kB / 463.8 MB, free: 144 kB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.523, allocations: 188.6 kB / 464 MB, free: 15.96 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.523, allocations: 0 / 464 MB, free: 15.96 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0009283/0.524, allocations: 131.7 kB / 464.1 MB, free: 15.83 MB / 363.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) * 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.002084/0.5261, allocations: 1.184 MB / 465.3 MB, free: 14.61 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.5275, allocations: 497.9 kB / 465.8 MB, free: 14.12 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5275, allocations: 0 / 465.8 MB, free: 14.12 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.5284, allocations: 354.1 kB / 466.1 MB, free: 13.76 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.529, allocations: 55.14 kB / 466.2 MB, free: 13.71 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.5317, allocations: 0.6781 MB / 466.8 MB, free: 12.98 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.5323, allocations: 0.8357 MB / 467.7 MB, free: 12.12 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.5326, allocations: 135.4 kB / 467.8 MB, free: 11.99 MB / 363.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5326, allocations: 0 / 467.8 MB, free: 11.99 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.811/3.344, allocations: 8.311 MB / 476.1 MB, free: 3.719 MB / 363.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat