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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 179.6 kB / 8.478 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.075/1.075, allocations: 205.2 MB / 214.1 MB, free: 5.168 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.0008438/0.0008437, allocations: 87.27 kB / 262.1 MB, free: 5.207 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.154/0.1549, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06083/0.2158, allocations: 47.58 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.4204, allocations: 89.55 MB / 452.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001698/0.4206, allocations: 73.12 kB / 452.3 MB, free: 8.934 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.07462/0.4952, allocations: 42.25 MB / 494.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4952, allocations: 12 kB / 494.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.4954, allocations: 110.7 kB / 494.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/0.4963, allocations: 0.7214 MB / 495.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4963, allocations: 12 kB / 495.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.4964, allocations: 19.91 kB / 495.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003595/0.4968, allocations: 209.3 kB / 495.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.4972, allocations: 248.8 kB / 495.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4972, allocations: 0.875 kB / 495.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.4972, allocations: 4 kB / 495.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4973, allocations: 4 kB / 495.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4991, allocations: 1.351 MB / 497.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.4994, allocations: 218.3 kB / 497.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.4997, allocations: 204.8 kB / 497.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004472/0.5042, allocations: 4.221 MB / 0.4901 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.5044, allocations: 153.3 kB / 0.4902 GB, free: 7.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/0.5044, allocations: 0 / 0.4902 GB, free: 7.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007694/0.5052, allocations: 410.5 kB / 0.4906 GB, free: 7.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5052, allocations: 59.59 kB / 0.4907 GB, free: 7.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.506, allocations: 0.6454 MB / 0.4913 GB, free: 6.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.506, allocations: 29.69 kB / 0.4913 GB, free: 6.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.5062, allocations: 252.3 kB / 0.4916 GB, free: 6.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.5063, allocations: 102.2 kB / 0.4917 GB, free: 6.012 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.5063, allocations: 4 kB / 0.4917 GB, free: 6.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5064, allocations: 322 kB / 0.492 GB, free: 5.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5065, allocations: 84.77 kB / 0.492 GB, free: 5.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.5067, allocations: 191.8 kB / 0.4922 GB, free: 5.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.507, allocations: 151.8 kB / 0.4924 GB, free: 5.223 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5071, allocations: 0 / 0.4924 GB, free: 5.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007709/0.5078, allocations: 489.7 kB / 0.4928 GB, free: 4.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5079, allocations: 9.719 kB / 0.4928 GB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.589e-05/0.5079, allocations: 35.98 kB / 0.4929 GB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.5081, allocations: 49.7 kB / 0.4929 GB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.5085, allocations: 84.16 kB / 0.493 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.5102, allocations: 2.529 MB / 0.4955 GB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.5105, allocations: 43.62 kB / 0.4955 GB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.5106, allocations: 27.98 kB / 0.4955 GB, free: 1.715 MB / 346.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 9.467e-05/0.5107, allocations: 112.9 kB / 0.4957 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5108, allocations: 106.8 kB / 0.4958 GB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.5119, allocations: 0.4988 MB / 0.4962 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5119, allocations: 4 kB / 0.4962 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.512, allocations: 4 kB / 0.4963 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.512, allocations: 3.906 kB / 0.4963 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.5125, allocations: 0.5299 MB / 0.4968 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.654e-05/0.5126, allocations: 28 kB / 0.4968 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.5128, allocations: 51.89 kB / 0.4968 GB, free: 340 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.513, allocations: 57.67 kB / 0.4969 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.513, allocations: 8 kB / 0.4969 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.5147, allocations: 2.536 MB / 0.4994 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5147, allocations: 0 / 0.4994 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008572/0.5156, allocations: 0.5535 MB / 0.4999 GB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001122/0.5167, allocations: 1.072 MB / 0.501 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.517, allocations: 183.8 kB / 0.5012 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-05/0.5171, allocations: 0 / 0.5012 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.5174, allocations: 32.03 kB / 0.5012 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.5175, allocations: 23.91 kB / 0.5012 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.5175, allocations: 12 kB / 0.5012 GB, free: 11.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005432/0.518, allocations: 0.4957 MB / 0.5017 GB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001196/0.5192, allocations: 267.5 kB / 0.502 GB, free: 10.79 MB / 362.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.0006547/0.5199, allocations: 0.4923 MB / 0.5024 GB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006624/0.5206, allocations: 0.4979 MB / 0.5029 GB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5206, allocations: 0 / 0.5029 GB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.521, allocations: 385.2 kB / 0.5033 GB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.5214, allocations: 84.47 kB / 0.5034 GB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.5233, allocations: 1.054 MB / 0.5044 GB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/0.5238, allocations: 1.036 MB / 0.5054 GB, free: 7.184 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5239, allocations: 0 / 0.5054 GB, free: 7.184 MB / 362.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)