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.001189/0.001189, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001033/0.001033, allocations: 177.3 kB / 15.95 MB, free: 216 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.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005042/0.0005044, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 47.59 MB / 326.4 MB, free: 1.52 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004241/0.2461, allocations: 4.08 MB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.2578, allocations: 9.057 MB / 339.6 MB, free: 6.449 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.2589, allocations: 8 kB / 339.6 MB, free: 6.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.2611, allocations: 0.6106 MB / 340.2 MB, free: 5.828 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.2647, allocations: 0.8411 MB / 341 MB, free: 4.984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.2662, allocations: 415.3 kB / 341.5 MB, free: 4.574 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.2687, allocations: 1.249 MB / 342.7 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.2691, allocations: 151.8 kB / 342.8 MB, free: 3.164 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.2694, allocations: 230.8 kB / 343.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.2697, allocations: 282.2 kB / 343.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.2697, allocations: 16 kB / 343.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.2713, allocations: 0.6674 MB / 344 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.2714, allocations: 79.45 kB / 344.1 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.2716, allocations: 197.1 kB / 344.3 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009722/0.2726, allocations: 0.8739 MB / 345.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2726, allocations: 0 / 345.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2726, allocations: 4 kB / 345.2 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.2726, allocations: 0 / 345.2 MB, free: 0.8203 MB / 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.001855/0.2745, allocations: 1.203 MB / 346.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2745, allocations: 8.031 kB / 346.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.2746, allocations: 122.5 kB / 346.5 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2757, allocations: 0.7079 MB / 347.2 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2757, allocations: 20.56 kB / 347.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.2758, allocations: 24 kB / 347.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.2764, allocations: 325.3 kB / 347.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2764, allocations: 0 / 347.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.2765, allocations: 23.92 kB / 347.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2765, allocations: 4 kB / 347.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.2771, allocations: 298.2 kB / 347.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2791, allocations: 1.368 MB / 349.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.2798, allocations: 322.7 kB / 349.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004159/0.2839, allocations: 3.621 MB / 353.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/0.2844, allocations: 212.3 kB / 353.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 3.447e-06/0.2844, allocations: 0 / 353.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00165/0.2861, allocations: 0.8488 MB / 354.3 MB, free: 6.906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2861, allocations: 55.41 kB / 354.3 MB, free: 6.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.2871, allocations: 0.7998 MB / 355.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.2871, allocations: 29.7 kB / 355.1 MB, free: 5.988 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.2875, allocations: 460.4 kB / 355.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.2875, allocations: 90.66 kB / 355.7 MB, free: 5.441 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.2876, allocations: 8 kB / 355.7 MB, free: 5.434 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.2877, allocations: 318 kB / 356 MB, free: 5.117 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.288, allocations: 128.7 kB / 356.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.2883, allocations: 236 kB / 356.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.2886, allocations: 144 kB / 356.5 MB, free: 4.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2887, allocations: 0 / 356.5 MB, free: 4.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009416/0.2896, allocations: 0.5405 MB / 357 MB, free: 4.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2896, allocations: 8 kB / 357 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.916e-05/0.2897, allocations: 36.39 kB / 357.1 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.2899, allocations: 53.69 kB / 357.1 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.2902, allocations: 79.8 kB / 357.2 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.2922, allocations: 2.658 MB / 359.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.2925, allocations: 51.55 kB / 359.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.2926, allocations: 20 kB / 359.9 MB, free: 0.8398 MB / 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.0003031/0.2929, allocations: 205.8 kB / 360.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.293, allocations: 106.7 kB / 360.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.2942, allocations: 0.5168 MB / 360.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2942, allocations: 0 / 360.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2942, allocations: 0 / 360.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2942, allocations: 7.938 kB / 360.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.2948, allocations: 0.5467 MB / 361.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.2948, allocations: 35.98 kB / 361.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2951, allocations: 47.95 kB / 361.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.2952, allocations: 53.58 kB / 361.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.2953, allocations: 8 kB / 361.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.2971, allocations: 2.654 MB / 364.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2971, allocations: 4 kB / 364.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.2983, allocations: 0.6355 MB / 364.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.2986, allocations: 179.8 kB / 364.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.2987, allocations: 8 kB / 364.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.2989, allocations: 23.91 kB / 365 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.299, allocations: 23.97 kB / 365 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.299, allocations: 15.95 kB / 365 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006404/0.2997, allocations: 0.5428 MB / 365.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.2997, allocations: 0 / 365.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007047/0.3004, allocations: 251.5 kB / 365.8 MB, free: 10.6 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.000545/0.301, allocations: 336.5 kB / 366.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3021, allocations: 0.6049 MB / 366.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3021, allocations: 0 / 366.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.3027, allocations: 450.9 kB / 367.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3031, allocations: 88.45 kB / 367.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3057, allocations: 1.726 MB / 369 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.3062, allocations: 0.9717 MB / 369.9 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.3065, allocations: 89.14 kB / 370 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/0.3066, allocations: 47.44 kB / 370.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3066, allocations: 0 / 370.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of Templates: time 0.01635/0.323, allocations: 7.627 MB / 377.7 MB, free: 14.54 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: