Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001319/0.001319, allocations: 108.7 kB / 17.74 MB, free: 5.215 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.001415/0.001415, allocations: 190.5 kB / 18.68 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 47.91 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2234, allocations: 49.45 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007718/0.2312, allocations: 7.491 MB / 408.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.2429, allocations: 10.71 MB / 419.6 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.2437, allocations: 79.31 kB / 419.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.2452, allocations: 0.7061 MB / 420.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.2479, allocations: 1.2 MB / 421.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.2493, allocations: 0.6739 MB / 422.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003242/0.2526, allocations: 2.533 MB / 424.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.253, allocations: 283.9 kB / 425.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.2535, allocations: 0.4937 MB / 425.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.2541, allocations: 0.5278 MB / 426.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2542, allocations: 56.03 kB / 426.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.2557, allocations: 0.7726 MB / 426.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.2558, allocations: 190.8 kB / 427.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.2564, allocations: 0.6715 MB / 427.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.2584, allocations: 1.952 MB / 429.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2584, allocations: 0 / 429.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2584, allocations: 0 / 429.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.2585, allocations: 0 / 429.7 MB, free: 12.39 MB / 350.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.002518/0.261, allocations: 2.05 MB / 431.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.261, allocations: 8.031 kB / 431.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2612, allocations: 211.7 kB / 432 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.263, allocations: 1.351 MB / 433.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.263, allocations: 36.94 kB / 433.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.2631, allocations: 44 kB / 433.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.264, allocations: 0.5197 MB / 434 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.264, allocations: 0 / 434 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.2641, allocations: 16 kB / 434 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.2641, allocations: 19.94 kB / 434 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009085/0.265, allocations: 472.1 kB / 434.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.2678, allocations: 2.093 MB / 436.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.2688, allocations: 0.7101 MB / 437.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.2695, allocations: 0.5134 MB / 437.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007403/0.277, allocations: 6.521 MB / 444.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/0.2775, allocations: 290.5 kB / 444.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.234e-06/0.2775, allocations: 0 / 444.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003517/0.2811, allocations: 2.001 MB / 446.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.2811, allocations: 59.84 kB / 446.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.2826, allocations: 1.296 MB / 447.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.2827, allocations: 37.7 kB / 448 MB, free: 8.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000545/0.2832, allocations: 0.7156 MB / 448.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.2834, allocations: 210.2 kB / 448.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2836, allocations: 126.3 kB / 449 MB, free: 7.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2837, allocations: 338 kB / 449.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.2841, allocations: 189.6 kB / 449.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.2847, allocations: 371.8 kB / 449.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.2856, allocations: 0.5947 MB / 450.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.2856, allocations: 4 kB / 450.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001551/0.2872, allocations: 0.9229 MB / 451.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2872, allocations: 12.56 kB / 451.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.238e-05/0.2873, allocations: 52 kB / 451.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.2877, allocations: 160.8 kB / 451.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.2882, allocations: 111.8 kB / 451.7 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.291, allocations: 2.52 MB / 454.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.2915, allocations: 32.02 kB / 454.3 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.2916, allocations: 32 kB / 454.3 MB, free: 2.172 MB / 366.1 MB 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.000382/0.2919, allocations: 273.6 kB / 454.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.2921, allocations: 190.8 kB / 454.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.2939, allocations: 0.8943 MB / 455.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2939, allocations: 0 / 455.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.63e-05/0.294, allocations: 59.98 kB / 455.7 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.2943, allocations: 255.9 kB / 456 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.2945, allocations: 8 kB / 456 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.2949, allocations: 23.97 kB / 456 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.295, allocations: 52.36 kB / 456.1 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001764/0.2968, allocations: 0.7642 MB / 456.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001607/0.2984, allocations: 1.095 MB / 457.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004279/0.2988, allocations: 227.5 kB / 458.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009937/0.2998, allocations: 0.8654 MB / 459 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Backend: time 1.062e-06/0.2998, allocations: 0 / 459 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.3024, allocations: 1.21 MB / 460.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of SimCode: time 0.003617/0.306, allocations: 3.135 MB / 463.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02705/0.3331, allocations: 15.3 MB / 478.7 MB, free: 9.73 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)