Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 88.59 kB / 16.31 MB, free: 5.637 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.001162/0.001162, allocations: 177.4 kB / 17.2 MB, free: 5.559 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.476/1.476, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004389/0.0004391, allocations: 8 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007497/0.2869, allocations: 6.434 MB / 334.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.3002, allocations: 9.489 MB / 343.6 MB, free: 3.551 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.3013, allocations: 39.69 kB / 343.7 MB, free: 3.512 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.3031, allocations: 0.536 MB / 344.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3065, allocations: 0.8963 MB / 345.1 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.3081, allocations: 454.9 kB / 345.6 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.3118, allocations: 2.304 MB / 347.9 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.3123, allocations: 255.2 kB / 348.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.3128, allocations: 406 kB / 348.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004896/0.3133, allocations: 481 kB / 349 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.131e-05/0.3134, allocations: 28 kB / 349 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.3149, allocations: 0.6362 MB / 349.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.3151, allocations: 147 kB / 349.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.3154, allocations: 312.8 kB / 350.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3168, allocations: 1.398 MB / 351.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3168, allocations: 0 / 351.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3168, allocations: 0 / 351.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3168, allocations: 0 / 351.5 MB, free: 11.64 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002546/0.3194, allocations: 1.787 MB / 353.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3194, allocations: 8.031 kB / 353.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.3197, allocations: 197.7 kB / 353.5 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.3215, allocations: 1.264 MB / 354.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.3216, allocations: 32.98 kB / 354.8 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/0.3217, allocations: 47.94 kB / 354.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.3226, allocations: 0.5236 MB / 355.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3226, allocations: 0 / 355.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.3227, allocations: 16 kB / 355.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.3227, allocations: 19.98 kB / 355.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.3237, allocations: 500 kB / 355.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.3267, allocations: 2.105 MB / 358 MB, free: 4.957 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3278, allocations: 0.716 MB / 358.7 MB, free: 4.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/0.3286, allocations: 0.533 MB / 359.2 MB, free: 3.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007854/0.3364, allocations: 6.529 MB / 365.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00061/0.3371, allocations: 302.5 kB / 366 MB, free: 11.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 3.176e-06/0.3371, allocations: 0 / 366 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003718/0.3408, allocations: 2.003 MB / 368 MB, free: 9.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3409, allocations: 63.83 kB / 368.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.3424, allocations: 1.28 MB / 369.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.3425, allocations: 33.7 kB / 369.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006074/0.3431, allocations: 0.7111 MB / 370.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.3433, allocations: 201.1 kB / 370.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3433, allocations: 12 kB / 370.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3435, allocations: 330 kB / 370.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.3439, allocations: 213.5 kB / 370.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.3444, allocations: 364.4 kB / 371.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.3449, allocations: 262.7 kB / 371.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3449, allocations: 4 kB / 371.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001558/0.3465, allocations: 0.9264 MB / 372.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3465, allocations: 12.12 kB / 372.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.3466, allocations: 56 kB / 372.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.347, allocations: 148.8 kB / 372.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3475, allocations: 123.8 kB / 372.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.3503, allocations: 2.295 MB / 375 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.3508, allocations: 43.92 kB / 375.1 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.646e-05/0.3509, allocations: 39.98 kB / 375.1 MB, free: 2.457 MB / 302.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005671/0.3514, allocations: 273.7 kB / 375.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.3516, allocations: 181.8 kB / 375.6 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.3535, allocations: 0.9175 MB / 376.5 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3535, allocations: 7.938 kB / 376.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3535, allocations: 4 kB / 376.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3536, allocations: 0 / 376.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3546, allocations: 0.871 MB / 377.4 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.237e-05/0.3547, allocations: 52 kB / 377.4 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.355, allocations: 67.95 kB / 377.5 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.3554, allocations: 150.9 kB / 377.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.3554, allocations: 16 kB / 377.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.358, allocations: 2.283 MB / 379.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.358, allocations: 7.953 kB / 379.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3599, allocations: 1.092 MB / 381 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.3602, allocations: 250.9 kB / 381.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.3604, allocations: 12 kB / 381.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.3607, allocations: 19.98 kB / 381.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.3608, allocations: 52.38 kB / 381.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.3609, allocations: 23.98 kB / 381.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.3622, allocations: 0.8421 MB / 382.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3622, allocations: 0 / 382.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001269/0.3635, allocations: 371.8 kB / 382.6 MB, free: 10.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007988/0.3643, allocations: 432.2 kB / 383 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.366, allocations: 0.8602 MB / 383.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.366, allocations: 0 / 383.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.367, allocations: 0.5866 MB / 384.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.3677, allocations: 190.3 kB / 384.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.3718, allocations: 2.736 MB / 387.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/0.3727, allocations: 1.181 MB / 388.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005944/0.3733, allocations: 187.2 kB / 388.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3734, allocations: 79.44 kB / 388.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3734, allocations: 4 kB / 388.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Templates: time 0.02546/0.3989, allocations: 12.48 MB / 401.3 MB, free: 7.875 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)