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.001211/0.001211, allocations: 106.2 kB / 17.06 MB, free: 6.023 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.001146/0.001146, allocations: 191 kB / 18 MB, free: 5.105 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.386/1.386, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001137/0.001137, allocations: 51.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.0991, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2468/0.3459, allocations: 5.008 MB / 379.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.3591, allocations: 10.44 MB / 389.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.3604, allocations: 30.78 kB / 390 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.3629, allocations: 0.6798 MB / 390.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005619/0.3685, allocations: 0.9883 MB / 391.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.3716, allocations: 0.5895 MB / 392.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.375, allocations: 1.347 MB / 393.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.3755, allocations: 172.3 kB / 393.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.3761, allocations: 274.6 kB / 394 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.3765, allocations: 320.8 kB / 394.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.3766, allocations: 31.94 kB / 394.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.3797, allocations: 0.6823 MB / 395 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3798, allocations: 104.4 kB / 395.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.3802, allocations: 400.8 kB / 395.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.3824, allocations: 1.263 MB / 396.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.3824, allocations: 4.516 kB / 396.8 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3824, allocations: 1.125 kB / 396.8 MB, free: 1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3824, allocations: 3.938 kB / 396.8 MB, free: 0.9961 MB / 318.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.002255/0.3847, allocations: 1.324 MB / 398.1 MB, free: 48 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3848, allocations: 9.297 kB / 398.1 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.385, allocations: 116.6 kB / 398.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3864, allocations: 0.7476 MB / 399 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3864, allocations: 20.48 kB / 399 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.3865, allocations: 29.52 kB / 399 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.3873, allocations: 319.3 kB / 399.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3873, allocations: 0 / 399.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.3874, allocations: 8.516 kB / 399.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3874, allocations: 10.97 kB / 399.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.3882, allocations: 278.2 kB / 399.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.3905, allocations: 1.365 MB / 401 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.3913, allocations: 293.3 kB / 401.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.3918, allocations: 256.6 kB / 401.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004849/0.3967, allocations: 3.591 MB / 405.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.3972, allocations: 194.6 kB / 405.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/0.3972, allocations: 0 / 405.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001899/0.3991, allocations: 0.7254 MB / 406 MB, free: 10.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3992, allocations: 55.94 kB / 406.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.4005, allocations: 0.8242 MB / 406.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.4005, allocations: 31.98 kB / 407 MB, free: 9.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.4009, allocations: 450.5 kB / 407.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-05/0.401, allocations: 98.58 kB / 407.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4012, allocations: 77.05 kB / 407.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4013, allocations: 324.9 kB / 407.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.4016, allocations: 114 kB / 408 MB, free: 8.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.402, allocations: 221.2 kB / 408.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.4028, allocations: 360.1 kB / 408.6 MB, free: 8.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4028, allocations: 2.469 kB / 408.6 MB, free: 8.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001372/0.4042, allocations: 0.5234 MB / 409.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.4043, allocations: 6.125 kB / 409.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.419e-05/0.4043, allocations: 31.38 kB / 409.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.4047, allocations: 59.66 kB / 409.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.405, allocations: 78.02 kB / 409.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.4075, allocations: 2.841 MB / 412.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.4082, allocations: 42.83 kB / 412.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.4082, allocations: 19.44 kB / 412.2 MB, free: 5.199 MB / 334.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.0004501/0.4087, allocations: 211.7 kB / 412.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.4088, allocations: 103.2 kB / 412.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.4101, allocations: 0.4921 MB / 413 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4101, allocations: 2.094 kB / 413 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4102, allocations: 1.062 kB / 413 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4102, allocations: 1.125 kB / 413 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.411, allocations: 0.5582 MB / 413.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-05/0.4111, allocations: 28.5 kB / 413.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.4113, allocations: 43.83 kB / 413.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.4115, allocations: 55.03 kB / 413.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.4116, allocations: 12.27 kB / 413.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.4138, allocations: 2.846 MB / 416.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4139, allocations: 0 / 416.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.4152, allocations: 0.6024 MB / 417.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.4155, allocations: 185.3 kB / 417.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.4156, allocations: 5.906 kB / 417.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4159, allocations: 19.19 kB / 417.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.416, allocations: 33.59 kB / 417.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.416, allocations: 13.19 kB / 417.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008183/0.4169, allocations: 0.5496 MB / 417.9 MB, free: 344 kB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4169, allocations: 3.938 kB / 417.9 MB, free: 340 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4179, allocations: 240.4 kB / 418.1 MB, free: 288 kB / 334.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.0007876/0.4187, allocations: 351.1 kB / 418.5 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4201, allocations: 0.5879 MB / 419.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4201, allocations: 0.875 kB / 419.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.4207, allocations: 443.4 kB / 419.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.4213, allocations: 93.64 kB / 419.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.4242, allocations: 1.517 MB / 421.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.4248, allocations: 0.9573 MB / 422.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.4251, allocations: 81.08 kB / 422.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.4252, allocations: 43.19 kB / 422.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4252, allocations: 0 / 422.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Templates: time 0.0177/0.4429, allocations: 8.391 MB / 430.6 MB, free: 5.633 MB / 350.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)