Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 110.3 kB / 17.75 MB, free: 5.285 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.001071/0.001071, allocations: 189.3 kB / 18.68 MB, free: 4.359 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 47.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.255, allocations: 49.43 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003547/0.2586, allocations: 2.596 MB / 404.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2597, allocations: 0.6622 MB / 404.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2599, allocations: 7.938 kB / 404.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.26, allocations: 39.58 kB / 404.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.2604, allocations: 91.31 kB / 404.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.2605, allocations: 79.83 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.2609, allocations: 306.7 kB / 405.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.2612, allocations: 92.94 kB / 405.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.2613, allocations: 119.5 kB / 405.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2615, allocations: 127.4 kB / 405.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.2616, allocations: 24 kB / 405.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.2616, allocations: 28 kB / 405.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.2617, allocations: 59.75 kB / 405.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2618, allocations: 131.4 kB / 405.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.2621, allocations: 286.1 kB / 406.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2622, allocations: 3.938 kB / 406.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2622, allocations: 0 / 406.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2622, allocations: 4 kB / 406.1 MB, free: 4.219 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008809/0.2631, allocations: 0.568 MB / 406.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2631, allocations: 12.03 kB / 406.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.2632, allocations: 32.75 kB / 406.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.2635, allocations: 255.9 kB / 406.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2635, allocations: 20.94 kB / 407 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.2636, allocations: 24.38 kB / 407 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.264, allocations: 229.2 kB / 407.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.264, allocations: 4 kB / 407.2 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2641, allocations: 4 kB / 407.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2641, allocations: 8 kB / 407.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.2645, allocations: 190.1 kB / 407.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.266, allocations: 0.9048 MB / 408.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.2666, allocations: 206.7 kB / 408.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.267, allocations: 128.7 kB / 408.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.267, allocations: 4 kB / 408.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.267, allocations: 34.5 kB / 408.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.267, allocations: 0 / 408.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001734/0.2688, allocations: 0.5616 MB / 409.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2688, allocations: 51.41 kB / 409.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.269, allocations: 231 kB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2691, allocations: 29.7 kB / 409.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2692, allocations: 164.2 kB / 409.7 MB, free: 352 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.2692, allocations: 63.5 kB / 409.8 MB, free: 288 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.2693, allocations: 45.67 kB / 409.8 MB, free: 236 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2695, allocations: 330.8 kB / 410.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.2696, allocations: 72.77 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2699, allocations: 121.8 kB / 410.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.2702, allocations: 181.9 kB / 410.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2702, allocations: 0 / 410.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008491/0.2711, allocations: 338.2 kB / 410.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2711, allocations: 12 kB / 410.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2711, allocations: 0 / 410.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.2715, allocations: 72.8 kB / 410.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2717, allocations: 47.91 kB / 411 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.2745, allocations: 2.017 MB / 413 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2747, allocations: 31.86 kB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2747, allocations: 4 kB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001496/0.2749, allocations: 140.1 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000106/0.275, allocations: 102.3 kB / 413.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001869/0.2752, allocations: 148.5 kB / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.2752, allocations: 4 kB / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003392/0.2755, allocations: 228.5 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.2755, allocations: 4 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2756, allocations: 4 kB / 413.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.832e-05/0.2756, allocations: 24.84 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2758, allocations: 43.97 kB / 413.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009298/0.2767, allocations: 1.415 MB / 415.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2769, allocations: 23.88 kB / 415.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2769, allocations: 8 kB / 415.2 MB, free: 10.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.277, allocations: 184.3 kB / 415.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.2771, allocations: 19.91 kB / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.2771, allocations: 21.53 kB / 415.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2771, allocations: 7.922 kB / 415.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.2771, allocations: 0 / 415.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.2772, allocations: 96.97 kB / 415.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.2773, allocations: 4 kB / 415.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2775, allocations: 19.98 kB / 415.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.2775, allocations: 19.97 kB / 415.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009538/0.2785, allocations: 377.5 kB / 415.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005422/0.279, allocations: 407.5 kB / 416.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001443/0.2792, allocations: 64.02 kB / 416.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2793, allocations: 168.5 kB / 416.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Backend: time 5.92e-07/0.2793, allocations: 3.938 kB / 416.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.2805, allocations: 0.5624 MB / 417.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009869/0.2815, allocations: 0.9517 MB / 418 MB, free: 7.484 MB / 334.1 MB Notification: Performance of Templates: time 0.007145/0.2887, allocations: 3.363 MB / 421.4 MB, free: 4.137 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)