Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009825/0.0009826, allocations: 203.4 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.11/1.11, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008325/0.0008325, allocations: 94.73 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.088/0.08885, allocations: 56.9 MB / 343.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07756/0.1664, allocations: 51.47 MB / 394.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.3687, allocations: 92.54 MB / 487.2 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001625/0.3689, allocations: 75.64 kB / 487.3 MB, free: 0.7969 MB / 346.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.08605/0.4549, allocations: 45.07 MB / 0.5199 GB, free: 9.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.455, allocations: 12 kB / 0.5199 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4551, allocations: 118.7 kB / 0.52 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/0.4561, allocations: 0.7197 MB / 0.5207 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4561, allocations: 8 kB / 0.5208 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.4561, allocations: 19.91 kB / 0.5208 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003591/0.4565, allocations: 205.3 kB / 0.521 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.4569, allocations: 252.8 kB / 0.5212 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4569, allocations: 3.938 kB / 0.5212 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.4569, allocations: 4 kB / 0.5212 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.457, allocations: 11.98 kB / 0.5212 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.4587, allocations: 1.328 MB / 0.5225 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4591, allocations: 217.8 kB / 0.5227 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.4593, allocations: 200.8 kB / 0.5229 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004246/0.4636, allocations: 4.228 MB / 0.5271 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.4638, allocations: 152.3 kB / 0.5272 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.4638, allocations: 0 / 0.5272 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007049/0.4645, allocations: 409.5 kB / 0.5276 GB, free: 380 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4646, allocations: 55.59 kB / 0.5276 GB, free: 312 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.4653, allocations: 0.6494 MB / 0.5283 GB, free: 15.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4653, allocations: 29.7 kB / 0.5283 GB, free: 15.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.4655, allocations: 256.3 kB / 0.5285 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.4656, allocations: 94.56 kB / 0.5286 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.4656, allocations: 2.812 kB / 0.5286 GB, free: 15.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.4657, allocations: 322 kB / 0.5289 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4658, allocations: 84.75 kB / 0.529 GB, free: 14.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.466, allocations: 187.8 kB / 0.5292 GB, free: 14.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4663, allocations: 159.8 kB / 0.5294 GB, free: 14.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4663, allocations: 4 kB / 0.5294 GB, free: 14.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007387/0.4671, allocations: 493.3 kB / 0.5298 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4671, allocations: 4 kB / 0.5298 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/0.4672, allocations: 36.42 kB / 0.5299 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.4674, allocations: 53.7 kB / 0.5299 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.4677, allocations: 83.81 kB / 0.53 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.4693, allocations: 2.532 MB / 0.5325 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.4696, allocations: 55.67 kB / 0.5325 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.4697, allocations: 20 kB / 0.5326 GB, free: 10.95 MB / 410.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.348e-05/0.4698, allocations: 113.6 kB / 0.5327 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.4699, allocations: 106.8 kB / 0.5328 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.471, allocations: 0.5031 MB / 0.5333 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.471, allocations: 0 / 0.5333 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.471, allocations: 4 kB / 0.5333 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4711, allocations: 7.922 kB / 0.5333 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.4716, allocations: 0.5227 MB / 0.5338 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.4716, allocations: 28 kB / 0.5338 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.4719, allocations: 55.91 kB / 0.5339 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.472, allocations: 45.69 kB / 0.5339 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.4721, allocations: 4 kB / 0.5339 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.4736, allocations: 2.554 MB / 0.5364 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4737, allocations: 0 / 0.5364 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008252/0.4745, allocations: 0.5458 MB / 0.5369 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001096/0.4756, allocations: 1.069 MB / 0.538 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4758, allocations: 187.8 kB / 0.5382 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.4759, allocations: 5.031 kB / 0.5382 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.4762, allocations: 19.97 kB / 0.5382 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.4762, allocations: 27.97 kB / 0.5382 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4763, allocations: 12 kB / 0.5382 GB, free: 4.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005438/0.4768, allocations: 0.4957 MB / 0.5387 GB, free: 4.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001204/0.478, allocations: 279.5 kB / 0.539 GB, free: 4.016 MB / 410.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.0006671/0.4787, allocations: 0.4934 MB / 0.5394 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006612/0.4794, allocations: 498 kB / 0.5399 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4794, allocations: 0 / 0.5399 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.4798, allocations: 390 kB / 0.5403 GB, free: 2.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4803, allocations: 100 kB / 0.5404 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.4821, allocations: 1.056 MB / 0.5414 GB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.4828, allocations: 1.024 MB / 0.5424 GB, free: 372 kB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4828, allocations: 0 / 0.5424 GB, free: 372 kB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-08 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)