Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_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.00156/0.00156, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001835/0.001835, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.295/1.295, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001356/0.001356, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.0795, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.1606/0.2401, allocations: 7.352 MB / 383.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009729/0.2499, allocations: 10.38 MB / 393.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008278/0.2507, allocations: 77.59 kB / 393.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2523, allocations: 0.6895 MB / 394.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.2551, allocations: 1.171 MB / 395.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.2568, allocations: 0.6632 MB / 396.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.2601, allocations: 2.489 MB / 398.6 MB, free: 56 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.2606, allocations: 288 kB / 398.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/0.2612, allocations: 471.1 kB / 399.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.2619, allocations: 0.5249 MB / 399.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.262, allocations: 54.56 kB / 400 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.2639, allocations: 0.6985 MB / 400.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2641, allocations: 190.8 kB / 400.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.2647, allocations: 0.6714 MB / 401.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.2671, allocations: 1.941 MB / 403.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2671, allocations: 0 / 403.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2671, allocations: 0 / 403.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.564e-05/0.2671, allocations: 0 / 403.5 MB, free: 13.87 MB / 334.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.002908/0.27, allocations: 1.981 MB / 405.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2701, allocations: 9.156 kB / 405.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.2703, allocations: 197.3 kB / 405.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.2723, allocations: 1.344 MB / 407 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.2723, allocations: 30.47 kB / 407 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.2724, allocations: 49.05 kB / 407.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009696/0.2734, allocations: 0.5085 MB / 407.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2734, allocations: 6.062 kB / 407.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.2735, allocations: 21.06 kB / 407.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.2735, allocations: 19.2 kB / 407.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.2745, allocations: 472 kB / 408.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.2774, allocations: 2.092 MB / 410.2 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009661/0.2784, allocations: 0.7051 MB / 410.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.2792, allocations: 0.5132 MB / 411.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007625/0.2868, allocations: 6.5 MB / 417.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.2874, allocations: 295.5 kB / 418.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=55): time 2.214e-06/0.2874, allocations: 4 kB / 418.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=59): time 0.003647/0.2911, allocations: 1.964 MB / 420.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2911, allocations: 61.34 kB / 420.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.2927, allocations: 1.291 MB / 421.5 MB, free: 344 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.2927, allocations: 36.45 kB / 421.5 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.2933, allocations: 0.7124 MB / 422.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.2934, allocations: 200.5 kB / 422.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.2936, allocations: 122.1 kB / 422.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2937, allocations: 336.8 kB / 422.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.2942, allocations: 197.3 kB / 423.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.2947, allocations: 359.8 kB / 423.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.297, allocations: 1.139 MB / 424.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.297, allocations: 4 kB / 424.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001561/0.2986, allocations: 0.9147 MB / 425.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2986, allocations: 12.09 kB / 425.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.73e-05/0.2987, allocations: 59.94 kB / 425.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.2991, allocations: 160 kB / 425.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.2995, allocations: 116.7 kB / 425.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.3022, allocations: 2.513 MB / 428.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.3028, allocations: 28.02 kB / 428.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.3028, allocations: 36 kB / 428.4 MB, free: 9.297 MB / 350.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.0004657/0.3033, allocations: 277.7 kB / 428.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.3035, allocations: 181.8 kB / 428.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.3052, allocations: 0.8927 MB / 429.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3053, allocations: 0 / 429.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-05/0.3053, allocations: 55.98 kB / 429.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.3057, allocations: 243 kB / 430 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.3058, allocations: 15.98 kB / 430 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.3062, allocations: 15.98 kB / 430.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3063, allocations: 57.17 kB / 430.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001762/0.3081, allocations: 0.7569 MB / 430.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00163/0.3097, allocations: 1.091 MB / 432 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004374/0.3102, allocations: 227.5 kB / 432.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.3113, allocations: 0.8617 MB / 433.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of Backend: time 9.52e-07/0.3113, allocations: 0 / 433.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.3141, allocations: 1.211 MB / 434.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of SimCode: time 0.003355/0.3175, allocations: 3.056 MB / 437.3 MB, free: 220 kB / 350.1 MB Notification: Performance of Templates: time 0.02714/0.3446, allocations: 15.21 MB / 452.5 MB, free: 0.9844 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)