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.0007437/0.0007441, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005067/0.005067, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.36/1.36, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004554/0.0004555, allocations: 12.52 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 47.59 MB / 327 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006166/0.2172, allocations: 6.881 MB / 333.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.229, allocations: 10.46 MB / 344.4 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000772/0.2298, allocations: 39.69 kB / 344.4 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.2314, allocations: 0.623 MB / 345 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.2348, allocations: 0.9486 MB / 346 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2365, allocations: 491.7 kB / 346.5 MB, free: 20 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003709/0.2402, allocations: 2.412 MB / 348.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/0.2407, allocations: 264.2 kB / 349.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008256/0.2416, allocations: 421.6 kB / 349.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.2421, allocations: 0.4966 MB / 350 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.2422, allocations: 32 kB / 350.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.2445, allocations: 0.6753 MB / 350.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.2447, allocations: 162.8 kB / 350.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007411/0.2455, allocations: 0.6654 MB / 351.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.2476, allocations: 1.868 MB / 353.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2476, allocations: 4 kB / 353.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2476, allocations: 0 / 353.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.2476, allocations: 0 / 353.4 MB, free: 8.984 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.002734/0.2504, allocations: 1.753 MB / 355.2 MB, free: 7.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2504, allocations: 12.03 kB / 355.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.2506, allocations: 190.7 kB / 355.4 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.2524, allocations: 1.356 MB / 356.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2525, allocations: 29 kB / 356.8 MB, free: 5.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.2526, allocations: 51.91 kB / 356.8 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.2535, allocations: 0.5158 MB / 357.3 MB, free: 4.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2535, allocations: 0 / 357.3 MB, free: 4.973 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.2536, allocations: 31.86 kB / 357.4 MB, free: 4.941 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.2536, allocations: 16 kB / 357.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.2546, allocations: 496.1 kB / 357.9 MB, free: 4.438 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.2575, allocations: 2.121 MB / 360 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2585, allocations: 0.7236 MB / 360.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/0.2593, allocations: 0.5174 MB / 361.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007443/0.2667, allocations: 6.532 MB / 367.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.2673, allocations: 298.6 kB / 368.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.375e-06/0.2673, allocations: 0 / 368.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003611/0.271, allocations: 2.018 MB / 370.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.271, allocations: 63.84 kB / 370.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.2725, allocations: 1.292 MB / 371.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.2726, allocations: 37.7 kB / 371.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005846/0.2731, allocations: 0.7189 MB / 372.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.2733, allocations: 197.1 kB / 372.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.2734, allocations: 57.69 kB / 372.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2735, allocations: 333.9 kB / 372.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.2739, allocations: 205.6 kB / 373 MB, free: 4.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.2745, allocations: 371.8 kB / 373.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.2769, allocations: 1.182 MB / 374.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2769, allocations: 0 / 374.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001594/0.2785, allocations: 0.9415 MB / 375.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.2785, allocations: 8.625 kB / 375.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-05/0.2786, allocations: 55.98 kB / 375.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.279, allocations: 159.2 kB / 375.7 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.2795, allocations: 127.8 kB / 375.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.2822, allocations: 2.295 MB / 378.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.2827, allocations: 36.03 kB / 378.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.2828, allocations: 35.98 kB / 378.2 MB, free: 14.63 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.00046/0.2832, allocations: 277.6 kB / 378.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.2834, allocations: 185.8 kB / 378.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.2853, allocations: 0.906 MB / 379.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2853, allocations: 7.984 kB / 379.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2853, allocations: 4 kB / 379.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2853, allocations: 0 / 379.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2864, allocations: 0.867 MB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-05/0.2864, allocations: 56 kB / 380.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.2868, allocations: 67.89 kB / 380.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/0.2871, allocations: 151.3 kB / 380.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.2872, allocations: 20 kB / 380.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.2897, allocations: 2.295 MB / 383 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2897, allocations: 4 kB / 383 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.2916, allocations: 1.1 MB / 384.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.2918, allocations: 251 kB / 384.3 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.292, allocations: 15.94 kB / 384.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.2923, allocations: 19.98 kB / 384.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2925, allocations: 48.38 kB / 384.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.2925, allocations: 24 kB / 384.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009653/0.2935, allocations: 0.8578 MB / 385.3 MB, free: 7.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2935, allocations: 0 / 385.3 MB, free: 7.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.2943, allocations: 371.8 kB / 385.6 MB, free: 6.891 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.0006633/0.295, allocations: 452 kB / 386.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.2965, allocations: 0.864 MB / 387 MB, free: 5.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2965, allocations: 0 / 387 MB, free: 5.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.2975, allocations: 0.5942 MB / 387.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.2982, allocations: 186.1 kB / 387.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.3016, allocations: 2.928 MB / 390.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.3023, allocations: 1.17 MB / 391.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.3029, allocations: 187.2 kB / 392 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.303, allocations: 79.44 kB / 392.1 MB, free: 336 kB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.303, allocations: 0 / 392.1 MB, free: 336 kB / 318.1 MB Notification: Performance of Templates: time 0.02364/0.3267, allocations: 12.79 MB / 404.9 MB, free: 3.523 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)