Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 92.41 kB / 16.3 MB, free: 5.996 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.0009893/0.0009893, allocations: 184.4 kB / 17.2 MB, free: 5.91 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.497/1.497, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0004806/0.0004808, allocations: 14.8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2849, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007247/0.2922, allocations: 6.653 MB / 334.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.3069, allocations: 9.612 MB / 344 MB, free: 3.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.309, allocations: 15.94 kB / 344 MB, free: 3.199 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.3115, allocations: 0.6842 MB / 344.7 MB, free: 2.512 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.3164, allocations: 1.075 MB / 345.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.3187, allocations: 487.2 kB / 346.2 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.3238, allocations: 2.424 MB / 348.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006014/0.3244, allocations: 298.9 kB / 348.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.3252, allocations: 461.7 kB / 349.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/0.3258, allocations: 0.5513 MB / 349.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/0.3259, allocations: 36 kB / 350 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.3278, allocations: 0.6753 MB / 350.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.3279, allocations: 178.8 kB / 350.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.3283, allocations: 348.7 kB / 351.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.3301, allocations: 1.485 MB / 352.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3301, allocations: 4 kB / 352.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3301, allocations: 0 / 352.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.3301, allocations: 4 kB / 352.6 MB, free: 10.47 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003353/0.3335, allocations: 1.979 MB / 354.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3336, allocations: 8.031 kB / 354.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.3338, allocations: 229.3 kB / 354.9 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.3357, allocations: 1.231 MB / 356.1 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.3358, allocations: 41.3 kB / 356.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3359, allocations: 52 kB / 356.2 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3372, allocations: 0.7133 MB / 356.9 MB, free: 6.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3372, allocations: 4 kB / 356.9 MB, free: 6.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.3373, allocations: 20 kB / 356.9 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.3373, allocations: 19.98 kB / 356.9 MB, free: 6.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3386, allocations: 0.6141 MB / 357.6 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.3423, allocations: 2.551 MB / 360.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3435, allocations: 0.6623 MB / 360.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00861/0.3521, allocations: 7.535 MB / 368.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.353, allocations: 398 kB / 368.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/0.353, allocations: 0 / 368.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005632/0.3586, allocations: 2.122 MB / 370.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3587, allocations: 85.55 kB / 370.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.3604, allocations: 1.419 MB / 372.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.3604, allocations: 37.7 kB / 372.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006536/0.3611, allocations: 0.8016 MB / 373.2 MB, free: 4.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.3613, allocations: 220.7 kB / 373.4 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.3613, allocations: 20 kB / 373.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3614, allocations: 337.9 kB / 373.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.362, allocations: 269.9 kB / 374 MB, free: 3.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.3628, allocations: 474.3 kB / 374.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.3634, allocations: 334.8 kB / 374.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3634, allocations: 0 / 374.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002033/0.3655, allocations: 1.183 MB / 376 MB, free: 1.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3655, allocations: 8 kB / 376 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.721e-05/0.3656, allocations: 75.97 kB / 376 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.3669, allocations: 0.6954 MB / 376.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.3674, allocations: 123.8 kB / 376.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.3688, allocations: 1.12 MB / 378 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.3695, allocations: 107.3 kB / 378.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.3696, allocations: 32 kB / 378.1 MB, free: 15.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.000585/0.3702, allocations: 285.7 kB / 378.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.3704, allocations: 201.6 kB / 378.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.373, allocations: 1.15 MB / 379.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.373, allocations: 4 kB / 379.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.373, allocations: 4 kB / 379.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.373, allocations: 7.891 kB / 379.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3742, allocations: 0.9753 MB / 380.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.554e-05/0.3743, allocations: 71.98 kB / 380.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.3747, allocations: 67.94 kB / 380.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.3758, allocations: 0.6635 MB / 381.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.3759, allocations: 19.98 kB / 381.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.3772, allocations: 1.1 MB / 382.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3772, allocations: 0 / 382.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.3799, allocations: 1.409 MB / 384.1 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/0.3805, allocations: 282.6 kB / 384.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.3806, allocations: 12 kB / 384.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.3811, allocations: 55.91 kB / 384.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.3813, allocations: 48.36 kB / 384.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.3813, allocations: 20 kB / 384.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.3826, allocations: 0.9331 MB / 385.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3826, allocations: 0 / 385.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001076/0.3837, allocations: 431.4 kB / 385.8 MB, free: 7.441 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007387/0.3845, allocations: 460.2 kB / 386.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.3865, allocations: 0.8975 MB / 387.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3866, allocations: 4 kB / 387.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3877, allocations: 0.5486 MB / 387.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.3882, allocations: 167 kB / 387.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.3934, allocations: 3.422 MB / 391.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.3941, allocations: 1.259 MB / 392.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004983/0.3946, allocations: 162.1 kB / 392.7 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3948, allocations: 71.44 kB / 392.8 MB, free: 368 kB / 318.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3948, allocations: 0 / 392.8 MB, free: 368 kB / 318.1 MB Notification: Performance of Templates: time 0.02565/0.4204, allocations: 14.33 MB / 407.1 MB, free: 2.016 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) Environment - environmentSimulation: