Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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 3.2.3+maint.om/package.mo", uses=false) 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 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="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008265/0.0008265, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008655/0.0008656, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 19.92 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2598, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00405/0.2639, allocations: 4.339 MB / 330.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.2747, allocations: 9.514 MB / 340.3 MB, free: 5.617 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.2755, allocations: 7.938 kB / 340.3 MB, free: 5.609 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2773, allocations: 0.5711 MB / 340.9 MB, free: 5.035 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.2805, allocations: 0.7374 MB / 341.7 MB, free: 4.293 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.2822, allocations: 403 kB / 342 MB, free: 3.895 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.2846, allocations: 1.238 MB / 343.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.2849, allocations: 155.8 kB / 343.4 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.2853, allocations: 234.8 kB / 343.7 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2856, allocations: 286.2 kB / 343.9 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.2857, allocations: 20 kB / 344 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.2874, allocations: 0.6167 MB / 344.6 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.2875, allocations: 91.31 kB / 344.7 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2877, allocations: 197.1 kB / 344.9 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009688/0.2887, allocations: 0.8842 MB / 345.7 MB, free: 168 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2887, allocations: 4 kB / 345.7 MB, free: 164 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2887, allocations: 0 / 345.7 MB, free: 164 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2887, allocations: 0 / 345.7 MB, free: 164 kB / 270.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.001909/0.2906, allocations: 1.203 MB / 347 MB, free: 14.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2907, allocations: 8.031 kB / 347 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2909, allocations: 118.5 kB / 347.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.2918, allocations: 0.6962 MB / 347.8 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2918, allocations: 20.56 kB / 347.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.2919, allocations: 31.94 kB / 347.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.2925, allocations: 333.3 kB / 348.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2925, allocations: 0 / 348.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.2925, allocations: 12 kB / 348.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2926, allocations: 7.984 kB / 348.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.2932, allocations: 294.2 kB / 348.5 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.2951, allocations: 1.376 MB / 349.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.2957, allocations: 314.8 kB / 350.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.2962, allocations: 257.9 kB / 350.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004163/0.3003, allocations: 3.616 MB / 354 MB, free: 7.145 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.3008, allocations: 204.3 kB / 354.2 MB, free: 6.934 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.3008, allocations: 0 / 354.2 MB, free: 6.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001582/0.3024, allocations: 0.7698 MB / 355 MB, free: 6.113 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3025, allocations: 55.41 kB / 355 MB, free: 6.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/0.3034, allocations: 0.7998 MB / 355.8 MB, free: 5.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3034, allocations: 29.7 kB / 355.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.3038, allocations: 452.4 kB / 356.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.3039, allocations: 94.64 kB / 356.4 MB, free: 4.652 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.3039, allocations: 8 kB / 356.4 MB, free: 4.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3041, allocations: 326 kB / 356.7 MB, free: 4.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3043, allocations: 120.7 kB / 356.8 MB, free: 4.203 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.3047, allocations: 240 kB / 357.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.305, allocations: 148 kB / 357.2 MB, free: 3.777 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.305, allocations: 4 kB / 357.2 MB, free: 3.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001022/0.306, allocations: 0.5404 MB / 357.8 MB, free: 3.219 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3061, allocations: 8 kB / 357.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-05/0.3061, allocations: 35.98 kB / 357.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.3064, allocations: 53.69 kB / 357.9 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.3067, allocations: 84.23 kB / 357.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.3087, allocations: 2.643 MB / 360.6 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.3091, allocations: 51.73 kB / 360.6 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.3091, allocations: 23.94 kB / 360.7 MB, free: 48 kB / 286.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 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * 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 (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.000341/0.3095, allocations: 197.7 kB / 360.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3096, allocations: 110.7 kB / 361 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.311, allocations: 0.5086 MB / 361.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.311, allocations: 7.984 kB / 361.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.311, allocations: 0 / 361.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.311, allocations: 4.078 kB / 361.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.3117, allocations: 0.5467 MB / 362 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/0.3117, allocations: 39.92 kB / 362.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.312, allocations: 51.92 kB / 362.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.3122, allocations: 53.61 kB / 362.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.3122, allocations: 8 kB / 362.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.3142, allocations: 2.639 MB / 364.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3142, allocations: 0 / 364.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3154, allocations: 0.6348 MB / 365.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.3156, allocations: 175.8 kB / 365.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.3157, allocations: 8 kB / 365.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3159, allocations: 23.97 kB / 365.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.316, allocations: 35.92 kB / 365.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.316, allocations: 8 kB / 365.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006418/0.3167, allocations: 0.5428 MB / 366.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3167, allocations: 0 / 366.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006997/0.3174, allocations: 243.6 kB / 366.5 MB, free: 9.836 MB / 302.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 (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.0006344/0.318, allocations: 332.9 kB / 366.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.3193, allocations: 0.6052 MB / 367.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3193, allocations: 0 / 367.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.3201, allocations: 454.9 kB / 367.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.3206, allocations: 88.39 kB / 367.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3232, allocations: 1.726 MB / 369.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.3237, allocations: 0.9522 MB / 370.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.324, allocations: 89.19 kB / 370.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.3241, allocations: 43.44 kB / 370.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3241, allocations: 0 / 370.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01501/0.3391, allocations: 7.787 MB / 378.5 MB, free: 13.64 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)