Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001508/0.001508, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001719/0.001719, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.326/1.326, allocations: 205.1 MB / 222 MB, free: 4.785 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.002048/0.002048, allocations: 52.19 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.214, allocations: 46.63 MB / 324.7 MB, free: 2.258 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.0107/0.2248, allocations: 7.306 MB / 332 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01777/0.2426, allocations: 10.61 MB / 342.6 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.2444, allocations: 39.69 kB / 342.6 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.2473, allocations: 0.6229 MB / 343.3 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.2525, allocations: 0.9485 MB / 344.2 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.2547, allocations: 487.8 kB / 344.7 MB, free: 328 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004553/0.2592, allocations: 2.408 MB / 347.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.2598, allocations: 268.2 kB / 347.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.2604, allocations: 433.6 kB / 347.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.2609, allocations: 0.5123 MB / 348.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2611, allocations: 36 kB / 348.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.2629, allocations: 0.683 MB / 349 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.263, allocations: 166.8 kB / 349.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.2636, allocations: 0.6636 MB / 349.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.2655, allocations: 1.891 MB / 351.7 MB, free: 9.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2655, allocations: 3.984 kB / 351.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2655, allocations: 0 / 351.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.2655, allocations: 0 / 351.7 MB, free: 9.227 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.002619/0.2682, allocations: 1.981 MB / 353.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2682, allocations: 8.031 kB / 353.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.2685, allocations: 198.6 kB / 353.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.2703, allocations: 1.337 MB / 355.2 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.2703, allocations: 37 kB / 355.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.2704, allocations: 44 kB / 355.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.2714, allocations: 0.5158 MB / 355.8 MB, free: 5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2714, allocations: 0 / 355.8 MB, free: 5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.2714, allocations: 16 kB / 355.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2715, allocations: 19.98 kB / 355.9 MB, free: 4.965 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008963/0.2724, allocations: 472.1 kB / 356.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.2753, allocations: 2.109 MB / 358.4 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009685/0.2763, allocations: 0.7041 MB / 359.2 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.277, allocations: 0.5096 MB / 359.7 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/0.2847, allocations: 6.509 MB / 366.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.2853, allocations: 290.5 kB / 366.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.415e-06/0.2853, allocations: 0 / 366.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.00363/0.289, allocations: 1.963 MB / 368.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.289, allocations: 59.84 kB / 368.5 MB, free: 7.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.2905, allocations: 1.3 MB / 369.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.2906, allocations: 29.7 kB / 369.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005978/0.2912, allocations: 0.715 MB / 370.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.2914, allocations: 201.1 kB / 370.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2915, allocations: 126.2 kB / 370.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2917, allocations: 334 kB / 371.2 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.2921, allocations: 197.5 kB / 371.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.2926, allocations: 363.8 kB / 371.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.2949, allocations: 1.131 MB / 372.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2949, allocations: 7.938 kB / 372.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001607/0.2965, allocations: 0.9224 MB / 373.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.2966, allocations: 8 kB / 373.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-05/0.2967, allocations: 56 kB / 373.8 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.2971, allocations: 155.9 kB / 374 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.2976, allocations: 115.8 kB / 374.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.3004, allocations: 2.295 MB / 376.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.3009, allocations: 28.02 kB / 376.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.301, allocations: 36 kB / 376.5 MB, free: 14.86 MB / 318.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 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000638/0.3016, allocations: 281.6 kB / 376.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.3019, allocations: 185.8 kB / 376.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.3039, allocations: 0.8824 MB / 377.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3039, allocations: 8 kB / 377.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3039, allocations: 96 / 377.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3039, allocations: 3.984 kB / 377.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3051, allocations: 0.8593 MB / 378.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-05/0.3052, allocations: 56 kB / 378.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.3055, allocations: 67.89 kB / 378.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.3059, allocations: 151 kB / 378.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.306, allocations: 24 kB / 379 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.3086, allocations: 2.282 MB / 381.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3086, allocations: 4 kB / 381.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.3105, allocations: 1.061 MB / 382.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.3108, allocations: 247 kB / 382.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.311, allocations: 11.94 kB / 382.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.3114, allocations: 23.98 kB / 382.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.3115, allocations: 44.38 kB / 382.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.3116, allocations: 23.98 kB / 382.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.3128, allocations: 0.8578 MB / 383.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3129, allocations: 0 / 383.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009547/0.3138, allocations: 375.8 kB / 383.9 MB, free: 7.195 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00077/0.3146, allocations: 456.1 kB / 384.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3162, allocations: 0.8402 MB / 385.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3162, allocations: 4 kB / 385.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.3171, allocations: 0.5789 MB / 385.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.3178, allocations: 178.2 kB / 385.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.3217, allocations: 2.849 MB / 388.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.3225, allocations: 1.174 MB / 389.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006119/0.3231, allocations: 187.2 kB / 390.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3232, allocations: 83.44 kB / 390.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3232, allocations: 0 / 390.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of Templates: time 0.02514/0.3484, allocations: 12.87 MB / 403.1 MB, free: 3.852 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)