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.008397/0.008397, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001673/0.001673, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001181/0.001181, allocations: 59.91 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.105, allocations: 46.6 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2076/0.3127, allocations: 5.008 MB / 378.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009784/0.3226, allocations: 10.44 MB / 388.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.3235, allocations: 30.47 kB / 388.6 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.3254, allocations: 0.6805 MB / 389.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.3291, allocations: 0.9908 MB / 390.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.331, allocations: 0.5975 MB / 390.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.3332, allocations: 1.34 MB / 392.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.3335, allocations: 174.1 kB / 392.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.3338, allocations: 271.7 kB / 392.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3341, allocations: 314.9 kB / 393 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.3342, allocations: 35.91 kB / 393 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3356, allocations: 0.6781 MB / 393.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.3357, allocations: 107.5 kB / 393.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.336, allocations: 405.8 kB / 394.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.3378, allocations: 1.268 MB / 395.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3378, allocations: 0 / 395.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3378, allocations: 0.9062 kB / 395.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.3378, allocations: 0 / 395.5 MB, free: 0.9844 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.002063/0.3399, allocations: 1.321 MB / 396.8 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3399, allocations: 10.12 kB / 396.8 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.3401, allocations: 117 kB / 396.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3414, allocations: 0.7542 MB / 397.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.3415, allocations: 23.44 kB / 397.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.3416, allocations: 26.06 kB / 397.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.3423, allocations: 314.8 kB / 398 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3423, allocations: 0 / 398 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.3423, allocations: 11.2 kB / 398 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.3424, allocations: 7.938 kB / 398 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.343, allocations: 285.2 kB / 398.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3451, allocations: 1.362 MB / 399.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.3459, allocations: 299.7 kB / 400 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/0.3463, allocations: 250.5 kB / 400.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004483/0.3508, allocations: 3.593 MB / 403.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.3513, allocations: 190 kB / 404 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.3513, allocations: 0 / 404 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001821/0.3531, allocations: 0.7265 MB / 404.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3532, allocations: 58.56 kB / 404.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3543, allocations: 0.8187 MB / 405.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3544, allocations: 26.89 kB / 405.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.3548, allocations: 455.2 kB / 406.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.608e-05/0.3549, allocations: 102.6 kB / 406.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.355, allocations: 73.62 kB / 406.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3551, allocations: 321.2 kB / 406.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.3554, allocations: 117.2 kB / 406.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.3557, allocations: 224.3 kB / 406.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.3564, allocations: 356.5 kB / 407.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3564, allocations: 1 kB / 407.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009591/0.3573, allocations: 0.5244 MB / 407.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3574, allocations: 10.88 kB / 407.8 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-05/0.3574, allocations: 34.98 kB / 407.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.3577, allocations: 55.47 kB / 407.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.358, allocations: 71.92 kB / 407.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.3601, allocations: 2.841 MB / 410.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.3605, allocations: 51.5 kB / 410.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.3606, allocations: 15.53 kB / 410.8 MB, free: 5.18 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.0002974/0.3609, allocations: 213 kB / 411 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.361, allocations: 103.5 kB / 411.1 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.3621, allocations: 497.7 kB / 411.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3621, allocations: 2.844 kB / 411.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3621, allocations: 1.281 kB / 411.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3622, allocations: 3.984 kB / 411.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.3629, allocations: 0.5541 MB / 412.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/0.3629, allocations: 32.89 kB / 412.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3632, allocations: 48.22 kB / 412.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.3634, allocations: 51.06 kB / 412.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.3634, allocations: 12.17 kB / 412.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.3653, allocations: 2.848 MB / 415.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3653, allocations: 0 / 415.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3666, allocations: 0.6034 MB / 415.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.3669, allocations: 188.9 kB / 416 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.367, allocations: 5.625 kB / 416 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3672, allocations: 15.77 kB / 416 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.3674, allocations: 29.69 kB / 416 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3674, allocations: 13.02 kB / 416 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007392/0.3681, allocations: 0.546 MB / 416.6 MB, free: 324 kB / 334.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.3682, allocations: 0 / 416.6 MB, free: 324 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008674/0.369, allocations: 239.3 kB / 416.8 MB, free: 272 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.0006356/0.3697, allocations: 355.8 kB / 417.2 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3709, allocations: 0.5876 MB / 417.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3709, allocations: 1.094 kB / 417.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.3715, allocations: 440.3 kB / 418.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.372, allocations: 98.34 kB / 418.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.3744, allocations: 1.527 MB / 419.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.3749, allocations: 0.9562 MB / 420.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3751, allocations: 82.45 kB / 420.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.3752, allocations: 45.81 kB / 420.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3752, allocations: 1.375 kB / 420.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Templates: time 0.01481/0.39, allocations: 8.38 MB / 429.3 MB, free: 5.617 MB / 350.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)