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.ThyristorBridge2Pulse_RLV_Characteristic.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.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",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.00352/0.003527, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 91.39 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003827, allocations: 8 kB / 327.1 MB, free: 84 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 47.56 MB / 374.7 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4754, allocations: 88.63 MB / 463.3 MB, free: 8.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.4759, allocations: 87.94 kB / 463.4 MB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06289/0.5388, allocations: 14.45 MB / 477.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.667e-05/0.5388, allocations: 7.938 kB / 477.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.385e-05/0.5389, allocations: 16 kB / 477.8 MB, free: 9.453 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003156/0.5421, allocations: 1.006 MB / 478.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.5422, allocations: 12.03 kB / 478.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003164/0.5425, allocations: 110.5 kB / 479 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.5427, allocations: 91.31 kB / 479.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5441, allocations: 0.5063 MB / 479.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/0.5442, allocations: 62 kB / 479.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.5444, allocations: 68 kB / 479.7 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.5467, allocations: 0.7654 MB / 480.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.5467, allocations: 0 / 480.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.5469, allocations: 32 kB / 480.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.5469, allocations: 16 kB / 480.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.549, allocations: 0.5945 MB / 481.1 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006629/0.5557, allocations: 2.694 MB / 483.8 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.5582, allocations: 0.6981 MB / 484.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.5584, allocations: 8.547 kB / 484.5 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.5597, allocations: 405.7 kB / 484.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=61): time 3.406e-06/0.5597, allocations: 3.938 kB / 484.9 MB, free: 2.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.004818/0.5645, allocations: 1.124 MB / 486 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.5647, allocations: 115.4 kB / 486.1 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.5656, allocations: 413.2 kB / 486.5 MB, free: 400 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.5657, allocations: 49.7 kB / 486.6 MB, free: 344 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.5661, allocations: 358.9 kB / 486.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.5664, allocations: 181.5 kB / 487.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.5665, allocations: 16 kB / 487.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5666, allocations: 342.6 kB / 487.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008935/0.5675, allocations: 233.9 kB / 487.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.5685, allocations: 387.5 kB / 488.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.5694, allocations: 250.1 kB / 488.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.5695, allocations: 4 kB / 488.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002324/0.5718, allocations: 0.7192 MB / 489 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006868/0.5725, allocations: 1.57 MB / 490.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.5725, allocations: 7.938 kB / 490.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.5733, allocations: 145.6 kB / 490.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.5741, allocations: 107.8 kB / 490.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/0.5795, allocations: 3.486 MB / 494.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.5805, allocations: 83.5 kB / 494.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.5806, allocations: 24.5 kB / 494.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5806, allocations: 4 kB / 494.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/0.5827, allocations: 0.6515 MB / 495.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5827, allocations: 7.938 kB / 495.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006877/0.5834, allocations: 141.6 kB / 495.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.5842, allocations: 107.8 kB / 495.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00487/0.5891, allocations: 3.471 MB / 498.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.5898, allocations: 71.66 kB / 498.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.5899, allocations: 20 kB / 498.9 MB, free: 3.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006645/0.5906, allocations: 321.5 kB / 499.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.5908, allocations: 59.25 kB / 499.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.591, allocations: 81.53 kB / 499.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.591, allocations: 4 kB / 499.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.591, allocations: 4 kB / 499.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5911, allocations: 3.984 kB / 499.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/0.5948, allocations: 1.468 MB / 0.4891 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.5949, allocations: 3.953 kB / 0.4891 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.5955, allocations: 67.89 kB / 0.4892 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006578/0.5962, allocations: 145.6 kB / 0.4893 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.5963, allocations: 12 kB / 0.4893 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2738/0.8701, allocations: 3.302 MB / 0.4926 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8701, allocations: 1.719 kB / 0.4926 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.8735, allocations: 1.046 MB / 0.4936 GB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.8739, allocations: 190.6 kB / 0.4938 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.8741, allocations: 14.94 kB / 0.4938 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.8747, allocations: 53.02 kB / 0.4938 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.8751, allocations: 78.86 kB / 0.4939 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/0.8751, allocations: 19.08 kB / 0.4939 GB, free: 102.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005545/0.8757, allocations: 320.8 kB / 0.4942 GB, free: 102.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8757, allocations: 0 / 0.4942 GB, free: 102.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001702/0.8774, allocations: 350.9 kB / 0.4946 GB, free: 102.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00343/0.8809, allocations: 1.632 MB / 0.4962 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.8845, allocations: 1.473 MB / 0.4976 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.8846, allocations: 4.844 kB / 0.4976 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.8859, allocations: 0.5743 MB / 0.4982 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.8868, allocations: 111.5 kB / 0.4983 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.8921, allocations: 4.765 MB / 0.5029 GB, free: 97.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.8927, allocations: 0.9573 MB / 0.5039 GB, free: 96.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.8933, allocations: 242.4 kB / 0.5041 GB, free: 96.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.8933, allocations: 2.125 kB / 0.5041 GB, free: 96.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.943/3.836, allocations: 16.7 MB / 0.5204 GB, free: 91.3 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat