Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 107.5 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002459/0.002459, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.268/2.268, allocations: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 51.86 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 49.44 MB / 350 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.009885/0.1605, allocations: 5.088 MB / 355.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.1844, allocations: 10.99 MB / 366.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.1857, allocations: 8 kB / 366.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.1891, allocations: 0.6524 MB / 366.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.1937, allocations: 0.8091 MB / 367.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1959, allocations: 435.9 kB / 368 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.1989, allocations: 1.326 MB / 369.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1993, allocations: 157.8 kB / 369.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.1997, allocations: 274.5 kB / 369.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.2001, allocations: 309.9 kB / 370.1 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.2002, allocations: 20 kB / 370.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2745/0.4747, allocations: 0.7287 MB / 370.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.4752, allocations: 99.73 kB / 370.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.4764, allocations: 393.1 kB / 371.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.4791, allocations: 0.9123 MB / 372.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4792, allocations: 0.9688 kB / 372.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4792, allocations: 0 / 372.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.4792, allocations: 0 / 372.2 MB, free: 11.61 MB / 302.1 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.003672/0.4829, allocations: 1.314 MB / 373.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.483, allocations: 9.188 kB / 373.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.4833, allocations: 118.5 kB / 373.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.4851, allocations: 0.7467 MB / 374.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4851, allocations: 20.36 kB / 374.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4852, allocations: 32.14 kB / 374.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4865, allocations: 318.4 kB / 374.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4866, allocations: 0.5 kB / 374.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.4867, allocations: 9.5 kB / 374.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.4867, allocations: 11.72 kB / 374.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.488, allocations: 280 kB / 375.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.4915, allocations: 1.376 MB / 376.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4928, allocations: 291 kB / 376.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/0.4936, allocations: 244.8 kB / 377 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007232/0.5009, allocations: 3.59 MB / 380.5 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008333/0.5018, allocations: 191.8 kB / 380.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 7.244e-06/0.5018, allocations: 1.094 kB / 380.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003093/0.5049, allocations: 0.7246 MB / 381.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.505, allocations: 59.02 kB / 381.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.5071, allocations: 0.8141 MB / 382.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.5072, allocations: 31.16 kB / 382.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.5078, allocations: 455.1 kB / 382.8 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.508, allocations: 96.52 kB / 382.9 MB, free: 6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.5082, allocations: 73.58 kB / 383 MB, free: 5.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.5083, allocations: 326.1 kB / 383.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.5089, allocations: 124.5 kB / 383.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.5096, allocations: 221.4 kB / 383.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.5108, allocations: 367.9 kB / 384 MB, free: 5.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.5108, allocations: 1.688 kB / 384 MB, free: 5.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00207/0.5129, allocations: 0.5159 MB / 384.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.513, allocations: 6.438 kB / 384.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.342e-05/0.5131, allocations: 33.08 kB / 384.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.5135, allocations: 63.42 kB / 384.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.5141, allocations: 74.11 kB / 384.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.5167, allocations: 2.644 MB / 387.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/0.5177, allocations: 51.02 kB / 387.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.5178, allocations: 23.47 kB / 387.4 MB, free: 2.434 MB / 302.1 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 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005667/0.5184, allocations: 196.8 kB / 387.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.5188, allocations: 103.6 kB / 387.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.5211, allocations: 0.4922 MB / 388.2 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.5212, allocations: 2.344 kB / 388.2 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5212, allocations: 1.766 kB / 388.2 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5212, allocations: 6.5 kB / 388.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.5229, allocations: 0.5502 MB / 388.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.853e-05/0.523, allocations: 32.91 kB / 388.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.5235, allocations: 40.28 kB / 388.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.5238, allocations: 47.95 kB / 388.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.5238, allocations: 13.59 kB / 388.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.5267, allocations: 2.649 MB / 391.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5268, allocations: 0 / 391.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5295, allocations: 0.6028 MB / 392.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.5303, allocations: 182.2 kB / 392.3 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.5306, allocations: 9.312 kB / 392.3 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.5313, allocations: 18.28 kB / 392.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5315, allocations: 28.95 kB / 392.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.5316, allocations: 11.42 kB / 392.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.5335, allocations: 0.5481 MB / 392.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.5335, allocations: 0 / 392.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00179/0.5353, allocations: 239.9 kB / 393.1 MB, free: 14.22 MB / 318.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.5369, allocations: 359.2 kB / 393.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.5392, allocations: 0.5807 MB / 394.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5392, allocations: 2.281 kB / 394.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.5404, allocations: 446.5 kB / 394.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.5419, allocations: 107.1 kB / 394.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.5485, allocations: 1.829 MB / 396.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.5497, allocations: 0.9517 MB / 397.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.55, allocations: 48.81 kB / 397.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.413e-06/0.55, allocations: 0 / 397.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Templates: time 0.0451/0.5951, allocations: 17.48 MB / 414.9 MB, free: 14.8 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)