Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001872/0.001872, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.09 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003816/0.1145, allocations: 2.621 MB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1157, allocations: 0.6972 MB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1159, allocations: 4 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1161, allocations: 47.56 kB / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1164, allocations: 79.33 kB / 362.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.1166, allocations: 83.83 kB / 362.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1169, allocations: 314.6 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.1171, allocations: 92.94 kB / 362.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1173, allocations: 115.6 kB / 363 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1174, allocations: 127.5 kB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1175, allocations: 24 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.1175, allocations: 24 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.1176, allocations: 63.7 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1177, allocations: 123.4 kB / 363.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.118, allocations: 287 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.118, allocations: 4 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.118, allocations: 0 / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1181, allocations: 0 / 363.6 MB, free: 8.645 MB / 302.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.0009277/0.119, allocations: 0.5692 MB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.119, allocations: 8.031 kB / 364.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.1191, allocations: 40.56 kB / 364.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1195, allocations: 243.9 kB / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1195, allocations: 24.92 kB / 364.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.1196, allocations: 20.38 kB / 364.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.12, allocations: 221.2 kB / 364.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.12, allocations: 0 / 364.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1201, allocations: 19.94 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1201, allocations: 4 kB / 364.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.1205, allocations: 198.1 kB / 364.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.122, allocations: 0.8889 MB / 365.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.1226, allocations: 218.7 kB / 366 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.1229, allocations: 128.7 kB / 366.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1229, allocations: 0 / 366.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.123, allocations: 42.56 kB / 366.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.123, allocations: 0 / 366.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001822/0.1248, allocations: 0.5524 MB / 366.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1248, allocations: 55.41 kB / 366.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1251, allocations: 227 kB / 367 MB, free: 4.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1251, allocations: 29.7 kB / 367.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1253, allocations: 171.8 kB / 367.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1253, allocations: 51.2 kB / 367.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.1254, allocations: 45.7 kB / 367.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1255, allocations: 330.8 kB / 367.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1257, allocations: 64.83 kB / 367.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.1259, allocations: 123 kB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.1263, allocations: 176.3 kB / 368 MB, free: 3.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1263, allocations: 4 kB / 368 MB, free: 3.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008178/0.1271, allocations: 346 kB / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1272, allocations: 4 kB / 368.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1272, allocations: 0 / 368.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/0.1275, allocations: 84.83 kB / 368.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1277, allocations: 39.92 kB / 368.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.1306, allocations: 2.017 MB / 370.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1308, allocations: 23.75 kB / 370.5 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1308, allocations: 11.94 kB / 370.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001505/0.131, allocations: 148.7 kB / 370.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001085/0.1311, allocations: 110.4 kB / 370.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001849/0.1313, allocations: 149 kB / 370.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.1313, allocations: 0 / 370.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003262/0.1316, allocations: 218 kB / 371.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1316, allocations: 8 kB / 371.1 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.1316, allocations: 0 / 371.1 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.197e-05/0.1317, allocations: 25.03 kB / 371.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1319, allocations: 47.92 kB / 371.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1975/0.3294, allocations: 1.403 MB / 372.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3297, allocations: 14.67 kB / 372.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3298, allocations: 10.2 kB / 372.6 MB, free: 18.7 MB / 302.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.0001537/0.3299, allocations: 200.1 kB / 372.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.33, allocations: 19.5 kB / 372.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.3301, allocations: 22.81 kB / 372.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3301, allocations: 1.719 kB / 372.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3301, allocations: 1.516 kB / 372.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3301, allocations: 1.016 kB / 372.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3318, allocations: 0.6281 MB / 373.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3318, allocations: 1.125 kB / 373.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.3319, allocations: 27.84 kB / 373.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003236/0.3323, allocations: 72.64 kB / 373.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3323, allocations: 5.875 kB / 373.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.3347, allocations: 1.92 MB / 375.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3348, allocations: 1.219 kB / 375.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/0.3357, allocations: 439.2 kB / 376 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.3358, allocations: 96.48 kB / 376 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3359, allocations: 7.219 kB / 376.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3361, allocations: 17.89 kB / 376.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3361, allocations: 12.36 kB / 376.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.3361, allocations: 12.41 kB / 376.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3363, allocations: 162.5 kB / 376.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3363, allocations: 0.9688 kB / 376.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006395/0.337, allocations: 116.1 kB / 376.4 MB, free: 16.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001577/0.3371, allocations: 105.8 kB / 376.5 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.3384, allocations: 0.5391 MB / 377 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3384, allocations: 0.5938 kB / 377 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.3388, allocations: 213.4 kB / 377.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3392, allocations: 31.5 kB / 377.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.3404, allocations: 0.4908 MB / 377.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3406, allocations: 0.7496 MB / 378.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3408, allocations: 22.59 kB / 378.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.3408, allocations: 17.72 kB / 378.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3408, allocations: 0 / 378.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Templates: time 0.008723/0.3495, allocations: 3.081 MB / 381.6 MB, free: 14.88 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)