Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.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.001662/0.001662, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001267/0.001267, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2376, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00559/0.2432, allocations: 5.014 MB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.2551, allocations: 10.44 MB / 340.8 MB, free: 4.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008427/0.2561, allocations: 8 kB / 340.8 MB, free: 4.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2581, allocations: 0.68 MB / 341.4 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.2624, allocations: 0.9828 MB / 342.4 MB, free: 2.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.2642, allocations: 0.5997 MB / 343 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.2664, allocations: 1.342 MB / 344.4 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.2668, allocations: 177.2 kB / 344.5 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2671, allocations: 262.6 kB / 344.8 MB, free: 364 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2674, allocations: 325.9 kB / 345.1 MB, free: 36 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.2675, allocations: 28 kB / 345.1 MB, free: 8 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.2692, allocations: 0.6752 MB / 345.8 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2693, allocations: 111.3 kB / 345.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.2697, allocations: 401.4 kB / 346.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.2714, allocations: 1.257 MB / 347.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2714, allocations: 0 / 347.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2714, allocations: 0 / 347.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2714, allocations: 0 / 347.6 MB, free: 13.57 MB / 286.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.00187/0.2733, allocations: 1.319 MB / 348.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2733, allocations: 8.031 kB / 348.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.2735, allocations: 123.5 kB / 349 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.2744, allocations: 0.7465 MB / 349.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2745, allocations: 24.5 kB / 349.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.2745, allocations: 28 kB / 349.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.2752, allocations: 317.3 kB / 350.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2752, allocations: 0 / 350.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.2753, allocations: 12 kB / 350.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.2753, allocations: 11.98 kB / 350.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.276, allocations: 278.2 kB / 350.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.2779, allocations: 1.365 MB / 351.8 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.2786, allocations: 298.5 kB / 352.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.2791, allocations: 249.8 kB / 352.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004072/0.2832, allocations: 3.596 MB / 355.9 MB, free: 4.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.2836, allocations: 187.3 kB / 356.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.2836, allocations: 0 / 356.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001645/0.2853, allocations: 0.7341 MB / 356.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2853, allocations: 55.41 kB / 356.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.2863, allocations: 0.8192 MB / 357.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2863, allocations: 29.7 kB / 357.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.2867, allocations: 460.4 kB / 358.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.2868, allocations: 94.64 kB / 358.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2869, allocations: 73.94 kB / 358.4 MB, free: 1.906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.287, allocations: 326 kB / 358.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.2873, allocations: 120.6 kB / 358.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.2877, allocations: 220.1 kB / 359 MB, free: 1.203 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.2884, allocations: 364.9 kB / 359.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2884, allocations: 3.938 kB / 359.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009781/0.2894, allocations: 0.517 MB / 359.9 MB, free: 272 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2894, allocations: 4 kB / 359.9 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-05/0.2894, allocations: 32.44 kB / 359.9 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.2897, allocations: 61.69 kB / 360 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.29, allocations: 67.89 kB / 360 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.2922, allocations: 2.855 MB / 362.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.2925, allocations: 39.67 kB / 362.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.2926, allocations: 20 kB / 363 MB, free: 12.9 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.0002775/0.2928, allocations: 209.7 kB / 363.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.2929, allocations: 106.7 kB / 363.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.2941, allocations: 497.9 kB / 363.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2941, allocations: 3.984 kB / 363.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2941, allocations: 4 kB / 363.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2941, allocations: 0 / 363.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.2947, allocations: 0.5583 MB / 364.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/0.2948, allocations: 35.98 kB / 364.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.295, allocations: 39.97 kB / 364.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.2952, allocations: 49.67 kB / 364.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.2952, allocations: 8 kB / 364.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.2972, allocations: 2.847 MB / 367.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2973, allocations: 3.938 kB / 367.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.2986, allocations: 0.6112 MB / 367.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.2988, allocations: 183.8 kB / 368.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.2989, allocations: 8.062 kB / 368.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2992, allocations: 11.98 kB / 368.1 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2993, allocations: 27.91 kB / 368.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.2993, allocations: 19.98 kB / 368.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007396/0.3001, allocations: 0.5428 MB / 368.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3001, allocations: 0 / 368.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.3008, allocations: 243.7 kB / 368.9 MB, free: 6.508 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 (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.0006685/0.3015, allocations: 348.4 kB / 369.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3028, allocations: 0.6012 MB / 369.9 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3028, allocations: 0 / 369.9 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.3034, allocations: 435 kB / 370.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3039, allocations: 100.4 kB / 370.4 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.3065, allocations: 1.532 MB / 371.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.3071, allocations: 0.9561 MB / 372.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.3074, allocations: 85.19 kB / 373 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.3075, allocations: 43.44 kB / 373 MB, free: 2.297 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3075, allocations: 4 kB / 373 MB, free: 2.293 MB / 302.1 MB Notification: Performance of Templates: time 0.01652/0.3241, allocations: 8.323 MB / 381.3 MB, free: 9.965 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)