Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003608, allocations: 12 kB / 264 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09197, allocations: 44.51 MB / 308.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5217, allocations: 80.18 MB / 388.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.5221, allocations: 89.56 kB / 388.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05291/0.575, allocations: 15.1 MB / 403.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.575, allocations: 0 / 403.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.242e-05/0.5751, allocations: 27.41 kB / 404 MB, free: 11.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.003001/0.5781, allocations: 1.167 MB / 405.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5782, allocations: 7.625 kB / 405.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003376/0.5786, allocations: 147.1 kB / 405.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.5788, allocations: 112.3 kB / 405.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.5802, allocations: 0.6416 MB / 406 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.5803, allocations: 65.69 kB / 406.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.5805, allocations: 89.56 kB / 406.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.583, allocations: 0.955 MB / 407.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.583, allocations: 7.062 kB / 407.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.5832, allocations: 42.56 kB / 407.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5832, allocations: 23.38 kB / 407.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.5854, allocations: 0.7409 MB / 407.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007146/0.5926, allocations: 3.762 MB / 411.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.5946, allocations: 0.7938 MB / 412.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.143e-05/0.5947, allocations: 12.28 kB / 412.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.5959, allocations: 460.3 kB / 413 MB, free: 7.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 3.657e-06/0.5959, allocations: 0 / 413 MB, free: 7.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.006315/0.6022, allocations: 1.582 MB / 414.5 MB, free: 7.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.6023, allocations: 115.2 kB / 414.7 MB, free: 6.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.6035, allocations: 0.6034 MB / 415.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.6037, allocations: 47.64 kB / 415.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.604, allocations: 382.2 kB / 415.7 MB, free: 6.395 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.6042, allocations: 248.5 kB / 415.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.6043, allocations: 14.72 kB / 415.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.6044, allocations: 340.9 kB / 416.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008208/0.6052, allocations: 265.9 kB / 416.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/0.6062, allocations: 430.8 kB / 416.9 MB, free: 5.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000836/0.607, allocations: 304.8 kB / 417.2 MB, free: 5.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.607, allocations: 3.844 kB / 417.2 MB, free: 5.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00234/0.6094, allocations: 0.9239 MB / 418.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.6097, allocations: 1.343 MB / 419.5 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6097, allocations: 7.781 kB / 419.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.611, allocations: 278.8 kB / 419.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.6118, allocations: 111.5 kB / 419.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006906/0.6187, allocations: 4.669 MB / 424.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.6199, allocations: 96.8 kB / 424.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.62, allocations: 26.75 kB / 424.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.62, allocations: 3.938 kB / 424.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002232/0.6223, allocations: 0.8528 MB / 425.6 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6223, allocations: 7.812 kB / 425.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.6234, allocations: 284.4 kB / 425.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.6242, allocations: 100.7 kB / 425.9 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.6349, allocations: 4.631 MB / 430.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.636, allocations: 78.83 kB / 430.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.6361, allocations: 33.7 kB / 430.7 MB, free: 13.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.6373, allocations: 341.3 kB / 431 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.6376, allocations: 81.69 kB / 431.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.638, allocations: 101 kB / 431.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.6381, allocations: 7.406 kB / 431.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6381, allocations: 4 kB / 431.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.6381, allocations: 3.984 kB / 431.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006702/0.6448, allocations: 1.966 MB / 433.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.6449, allocations: 0 / 433.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.6459, allocations: 73.47 kB / 433.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.648, allocations: 281.1 kB / 433.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.6482, allocations: 19.17 kB / 433.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/0.6603, allocations: 4.656 MB / 438.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6603, allocations: 0 / 438.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.6656, allocations: 1.339 MB / 439.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009368/0.6666, allocations: 254.9 kB / 439.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.6669, allocations: 15.88 kB / 439.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6681, allocations: 47.39 kB / 439.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/0.6685, allocations: 87.94 kB / 439.9 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/0.6687, allocations: 27.39 kB / 440 MB, free: 6.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001422/0.6701, allocations: 477 kB / 440.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6701, allocations: 0 / 440.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00336/0.6735, allocations: 442.7 kB / 440.8 MB, free: 6.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005528/0.6791, allocations: 1.94 MB / 442.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006783/0.6859, allocations: 1.978 MB / 444.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.686, allocations: 4.859 kB / 444.8 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.6887, allocations: 0.7613 MB / 445.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6904, allocations: 155.5 kB / 445.7 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7008, allocations: 4.647 MB / 450.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.702, allocations: 1.015 MB / 451.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7031, allocations: 306.1 kB / 451.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7031, allocations: 0 / 451.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.155/3.858, allocations: 22.2 MB / 473.8 MB, free: 7.797 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat does not exist to compare? outputFormat=mat