Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009176/0.0009179, allocations: 86.8 kB / 16.31 MB, free: 6.449 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.001052/0.001052, allocations: 183.4 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 223.4 MB, free: 5.277 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.0004414/0.0004414, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 47.6 MB / 327.7 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004333/0.2705, allocations: 4.336 MB / 332.1 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2822, allocations: 9.512 MB / 341.6 MB, free: 5.605 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.283, allocations: 11.94 kB / 341.6 MB, free: 5.594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.2847, allocations: 0.5672 MB / 342.2 MB, free: 5.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.2883, allocations: 0.7336 MB / 342.9 MB, free: 4.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.2899, allocations: 403 kB / 343.3 MB, free: 3.887 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00258/0.2925, allocations: 1.242 MB / 344.5 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.2928, allocations: 147.8 kB / 344.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.2932, allocations: 242.8 kB / 344.9 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.2935, allocations: 282.2 kB / 345.2 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.2936, allocations: 19.94 kB / 345.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2951, allocations: 0.6206 MB / 345.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.2952, allocations: 83.44 kB / 345.9 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2954, allocations: 193.1 kB / 346.1 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2964, allocations: 0.8959 MB / 347 MB, free: 156 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2964, allocations: 0 / 347 MB, free: 156 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2964, allocations: 3.938 kB / 347 MB, free: 152 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2964, allocations: 0 / 347 MB, free: 152 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.001993/0.2984, allocations: 1.206 MB / 348.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2985, allocations: 12.03 kB / 348.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.2986, allocations: 118.5 kB / 348.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.2996, allocations: 0.6962 MB / 349 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2997, allocations: 20.56 kB / 349 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.2997, allocations: 28 kB / 349.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.3004, allocations: 329.3 kB / 349.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3004, allocations: 0 / 349.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.3004, allocations: 8 kB / 349.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.3004, allocations: 11.98 kB / 349.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.3011, allocations: 294.2 kB / 349.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.3029, allocations: 1.376 MB / 351.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.3036, allocations: 314.8 kB / 351.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.304, allocations: 257.9 kB / 351.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004174/0.3082, allocations: 3.619 MB / 355.3 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.3086, allocations: 204.4 kB / 355.5 MB, free: 6.918 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.3086, allocations: 0 / 355.5 MB, free: 6.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001567/0.3102, allocations: 0.7659 MB / 356.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3103, allocations: 59.34 kB / 356.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.3112, allocations: 0.7998 MB / 357.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3112, allocations: 33.7 kB / 357.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.3116, allocations: 448.4 kB / 357.6 MB, free: 4.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.144e-05/0.3117, allocations: 94.64 kB / 357.6 MB, free: 4.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.3118, allocations: 12 kB / 357.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3119, allocations: 330 kB / 358 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.3122, allocations: 120.7 kB / 358.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3126, allocations: 232.1 kB / 358.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.3129, allocations: 151.9 kB / 358.5 MB, free: 3.758 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3129, allocations: 0 / 358.5 MB, free: 3.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009466/0.3138, allocations: 0.5443 MB / 359 MB, free: 3.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3139, allocations: 8 kB / 359 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.649e-05/0.3139, allocations: 31.98 kB / 359.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.3142, allocations: 57.69 kB / 359.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3145, allocations: 76.3 kB / 359.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.3165, allocations: 2.635 MB / 361.8 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3168, allocations: 55.75 kB / 361.9 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.3169, allocations: 20 kB / 361.9 MB, free: 44 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.0003371/0.3172, allocations: 213.7 kB / 362.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3174, allocations: 106.7 kB / 362.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3185, allocations: 0.5125 MB / 362.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3185, allocations: 0 / 362.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3185, allocations: 7.984 kB / 362.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3185, allocations: 0 / 362.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.3191, allocations: 0.5545 MB / 363.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.3192, allocations: 39.98 kB / 363.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3194, allocations: 51.86 kB / 363.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.3196, allocations: 45.69 kB / 363.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3196, allocations: 15.98 kB / 363.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.3215, allocations: 2.631 MB / 366.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3215, allocations: 4.031 kB / 366.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3227, allocations: 0.6309 MB / 366.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3229, allocations: 179.8 kB / 366.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.323, allocations: 4 kB / 366.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.3232, allocations: 19.98 kB / 366.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.3233, allocations: 32.16 kB / 366.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.3233, allocations: 16 kB / 366.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000634/0.324, allocations: 0.5389 MB / 367.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.324, allocations: 3.938 kB / 367.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006997/0.3247, allocations: 239.6 kB / 367.7 MB, free: 9.824 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.0005452/0.3252, allocations: 344.9 kB / 368.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3263, allocations: 0.6014 MB / 368.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3263, allocations: 0 / 368.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.3269, allocations: 446.9 kB / 369.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.3274, allocations: 96.33 kB / 369.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.33, allocations: 1.726 MB / 370.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.3306, allocations: 0.9522 MB / 371.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.3309, allocations: 85.2 kB / 372 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.331, allocations: 43.44 kB / 372 MB, free: 5.414 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.331, allocations: 0 / 372 MB, free: 5.414 MB / 302.1 MB Notification: Performance of Templates: time 0.01589/0.3469, allocations: 7.784 MB / 379.8 MB, free: 13.62 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)