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.001275/0.001275, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.0009966/0.0009966, allocations: 183 kB / 18.68 MB, free: 4.41 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000905/0.0009051, allocations: 51.92 kB / 352 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2255, allocations: 49.42 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003321/0.2288, allocations: 2.612 MB / 404.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.2298, allocations: 0.6622 MB / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.23, allocations: 4 kB / 404.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2301, allocations: 47.56 kB / 404.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2303, allocations: 87.27 kB / 404.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.2305, allocations: 75.89 kB / 404.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.2308, allocations: 310.6 kB / 405.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.231, allocations: 92.94 kB / 405.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.2312, allocations: 111.6 kB / 405.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2313, allocations: 135.4 kB / 405.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.2314, allocations: 24 kB / 405.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.2315, allocations: 28 kB / 405.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.2315, allocations: 51.83 kB / 405.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2316, allocations: 127.4 kB / 405.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2319, allocations: 292 kB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2319, allocations: 7.938 kB / 406.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2319, allocations: 0 / 406.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.2319, allocations: 0 / 406.1 MB, free: 4.199 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.0008794/0.2328, allocations: 0.5615 MB / 406.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2329, allocations: 8.031 kB / 406.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.2329, allocations: 36.66 kB / 406.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.2333, allocations: 259.7 kB / 406.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2333, allocations: 16.94 kB / 407 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.2333, allocations: 24.38 kB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.2338, allocations: 229.1 kB / 407.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2338, allocations: 3.984 kB / 407.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2338, allocations: 8 kB / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2339, allocations: 8 kB / 407.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.2343, allocations: 190.1 kB / 407.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2357, allocations: 0.8967 MB / 408.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.2364, allocations: 214.7 kB / 408.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.2367, allocations: 124.7 kB / 408.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2367, allocations: 4 kB / 408.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2367, allocations: 30.56 kB / 408.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2368, allocations: 4 kB / 408.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001848/0.2386, allocations: 0.5614 MB / 409.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2387, allocations: 51.41 kB / 409.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2389, allocations: 227 kB / 409.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2389, allocations: 29.7 kB / 409.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.239, allocations: 167.9 kB / 409.7 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.239, allocations: 59.14 kB / 409.8 MB, free: 276 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.2391, allocations: 45.7 kB / 409.8 MB, free: 224 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2392, allocations: 326.8 kB / 410.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2394, allocations: 68.81 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2396, allocations: 117.9 kB / 410.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.24, allocations: 181 kB / 410.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.24, allocations: 0 / 410.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008573/0.2408, allocations: 342.1 kB / 410.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2409, allocations: 8 kB / 410.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2409, allocations: 0 / 410.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.2412, allocations: 80.73 kB / 410.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.2414, allocations: 40.02 kB / 410.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.2442, allocations: 2.021 MB / 413 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.2444, allocations: 19.88 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.2444, allocations: 8 kB / 413 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001416/0.2445, allocations: 152 kB / 413.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001058/0.2446, allocations: 102.4 kB / 413.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001664/0.2448, allocations: 140.5 kB / 413.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.2448, allocations: 8 kB / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000326/0.2452, allocations: 221.9 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.2452, allocations: 4 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2452, allocations: 4 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.423e-05/0.2453, allocations: 28.88 kB / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2454, allocations: 52.11 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008915/0.2463, allocations: 1.41 MB / 415.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2465, allocations: 15.84 kB / 415.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2465, allocations: 8 kB / 415.1 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.0001055/0.2466, allocations: 188.2 kB / 415.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.2467, allocations: 19.81 kB / 415.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.2467, allocations: 25.52 kB / 415.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2467, allocations: 3.938 kB / 415.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2467, allocations: 0 / 415.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.2468, allocations: 96.97 kB / 415.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2468, allocations: 8 kB / 415.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.247, allocations: 15.98 kB / 415.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.2471, allocations: 19.98 kB / 415.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009522/0.248, allocations: 369.5 kB / 415.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005432/0.2486, allocations: 418.9 kB / 416.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000148/0.2487, allocations: 60.16 kB / 416.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.2489, allocations: 168.6 kB / 416.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Backend: time 1.9e-07/0.2489, allocations: 3.938 kB / 416.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.2501, allocations: 0.5686 MB / 417.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of SimCode: time 0.000899/0.251, allocations: 0.9331 MB / 418 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Templates: time 0.006379/0.2574, allocations: 3.374 MB / 421.4 MB, free: 4.141 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)