Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",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.001788/0.001788, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00077/0.0007698, allocations: 86.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.698e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4741, allocations: 89.86 MB / 453 MB, free: 5.996 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4744, allocations: 71.14 kB / 453.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08292/0.5574, allocations: 41.05 MB / 494.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5574, allocations: 0 / 494.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.5575, allocations: 12 kB / 494.2 MB, free: 2.625 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001744/0.5592, allocations: 1.108 MB / 495.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5593, allocations: 12.03 kB / 495.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.5594, allocations: 110.7 kB / 495.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/0.5603, allocations: 0.7195 MB / 496.1 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.5604, allocations: 8.875 kB / 496.1 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.5604, allocations: 16 kB / 496.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003569/0.5608, allocations: 221.3 kB / 496.3 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.5612, allocations: 249.1 kB / 496.6 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5612, allocations: 0 / 496.6 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.5613, allocations: 0 / 496.6 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.5613, allocations: 12 kB / 496.6 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.5631, allocations: 1.337 MB / 497.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.5635, allocations: 238.9 kB / 498.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.5638, allocations: 208.8 kB / 498.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00495/0.5688, allocations: 4.243 MB / 0.4908 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.569, allocations: 156.8 kB / 0.491 GB, free: 9.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.5691, allocations: 0 / 0.491 GB, free: 9.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008167/0.5699, allocations: 427.4 kB / 0.4914 GB, free: 8.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.5699, allocations: 59.59 kB / 0.4914 GB, free: 8.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.5707, allocations: 0.6492 MB / 0.4921 GB, free: 7.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.5708, allocations: 33.7 kB / 0.4921 GB, free: 7.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.5712, allocations: 440.6 kB / 0.4925 GB, free: 7.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.5713, allocations: 90.66 kB / 0.4926 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.5713, allocations: 0 / 0.4926 GB, free: 7.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5715, allocations: 325.9 kB / 0.4929 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.5716, allocations: 84.77 kB / 0.493 GB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.5718, allocations: 195.7 kB / 0.4932 GB, free: 6.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.5721, allocations: 167.9 kB / 0.4934 GB, free: 6.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5722, allocations: 0 / 0.4934 GB, free: 6.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000776/0.5729, allocations: 497.6 kB / 0.4938 GB, free: 6.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.573, allocations: 8.391 kB / 0.4938 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.272e-05/0.573, allocations: 39.98 kB / 0.4939 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.5732, allocations: 53.69 kB / 0.4939 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.5736, allocations: 83.73 kB / 0.494 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.5754, allocations: 2.553 MB / 0.4965 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.5757, allocations: 39.7 kB / 0.4965 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.5757, allocations: 20 kB / 0.4966 GB, free: 3.078 MB / 378.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: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.5759, allocations: 117 kB / 0.4967 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006877/0.5766, allocations: 430.8 kB / 0.4971 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5767, allocations: 102.8 kB / 0.4972 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.5777, allocations: 0.4971 MB / 0.4977 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5777, allocations: 4 kB / 0.4977 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5777, allocations: 0 / 0.4977 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5777, allocations: 4 kB / 0.4977 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.5783, allocations: 0.5227 MB / 0.4982 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/0.5784, allocations: 28 kB / 0.4982 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.5786, allocations: 47.95 kB / 0.4983 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.5788, allocations: 49.62 kB / 0.4983 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.5788, allocations: 8 kB / 0.4983 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.5805, allocations: 2.556 MB / 0.5008 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5805, allocations: 0 / 0.5008 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.5815, allocations: 0.5724 MB / 0.5014 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.5818, allocations: 195.7 kB / 0.5016 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.5819, allocations: 4 kB / 0.5016 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.5821, allocations: 15.98 kB / 0.5016 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.5822, allocations: 31.91 kB / 0.5016 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.5822, allocations: 8 kB / 0.5016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006372/0.5829, allocations: 0.5036 MB / 0.5021 GB, free: 13.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5829, allocations: 0 / 0.5021 GB, free: 13.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008508/0.5837, allocations: 255.6 kB / 0.5023 GB, free: 12.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/0.5856, allocations: 1.513 MB / 0.5038 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007431/0.5863, allocations: 0.4978 MB / 0.5043 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5864, allocations: 0 / 0.5043 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.5868, allocations: 401.1 kB / 0.5047 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.5872, allocations: 96.38 kB / 0.5048 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.5896, allocations: 1.282 MB / 0.506 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.5902, allocations: 0.9796 MB / 0.507 GB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.5905, allocations: 97.58 kB / 0.5071 GB, free: 7.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.5909, allocations: 331.3 kB / 0.5074 GB, free: 7.445 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5909, allocations: 3.938 kB / 0.5074 GB, free: 7.441 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04118/0.6321, allocations: 15.2 MB / 0.5222 GB, free: 8.23 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.6323, allocations: 164.5 kB / 0.5224 GB, free: 8.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.102, allocations: 0 / 0.5224 GB, free: 8.027 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-08 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)