Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01109/0.01109, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002127/0.002127, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.947/1.947, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001936/0.001936, allocations: 46.55 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.125, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004129/0.1292, allocations: 2.587 MB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1307, allocations: 0.7251 MB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1308, allocations: 4 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.1311, allocations: 35.64 kB / 376.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1313, allocations: 91.25 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1316, allocations: 83.83 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.132, allocations: 330.6 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1323, allocations: 88.62 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1325, allocations: 135.4 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1327, allocations: 139.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.1328, allocations: 28 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.1328, allocations: 28 kB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.1329, allocations: 63.75 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1331, allocations: 131.3 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1334, allocations: 306.9 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1335, allocations: 0 / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1335, allocations: 0 / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1335, allocations: 0 / 377.9 MB, free: 12.51 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001305/0.1348, allocations: 0.6181 MB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1348, allocations: 8.031 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1349, allocations: 24.66 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1354, allocations: 271.7 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.1354, allocations: 16.75 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1354, allocations: 20.38 kB / 378.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.136, allocations: 244.6 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.136, allocations: 0 / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.1361, allocations: 4 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1361, allocations: 4 kB / 379.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.1368, allocations: 247.6 kB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1382, allocations: 0.8092 MB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.139, allocations: 234.5 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.1393, allocations: 88.78 kB / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1393, allocations: 4 kB / 380.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.1397, allocations: 157 kB / 380.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1398, allocations: 0 / 380.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001625/0.1414, allocations: 0.5457 MB / 381.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1415, allocations: 85.11 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1417, allocations: 237 kB / 381.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1418, allocations: 33.7 kB / 381.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1419, allocations: 160 kB / 381.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.1419, allocations: 43.44 kB / 381.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.142, allocations: 45.61 kB / 381.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1422, allocations: 330.8 kB / 382.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1425, allocations: 104.7 kB / 382.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.1428, allocations: 142.6 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.1433, allocations: 248.6 kB / 382.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1434, allocations: 0 / 382.6 MB, free: 7.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009422/0.1443, allocations: 391.6 kB / 383 MB, free: 7.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.1444, allocations: 37.69 kB / 383 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1444, allocations: 0 / 383 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.1448, allocations: 96.72 kB / 383.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.145, allocations: 51.84 kB / 383.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.147, allocations: 1.554 MB / 384.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.1473, allocations: 35.81 kB / 384.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.1473, allocations: 8 kB / 384.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003298/0.1477, allocations: 176.1 kB / 384.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002744/0.148, allocations: 138.7 kB / 385.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004711/0.1484, allocations: 227.4 kB / 385.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1484, allocations: 0 / 385.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000664/0.1491, allocations: 303.7 kB / 385.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.1492, allocations: 41.61 kB / 385.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1492, allocations: 7.938 kB / 385.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.603e-05/0.1493, allocations: 32.97 kB / 385.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1495, allocations: 39.97 kB / 385.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.1507, allocations: 1.544 MB / 387.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1509, allocations: 31.88 kB / 387.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.151, allocations: 12 kB / 387.3 MB, free: 2.43 MB / 318.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: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.1512, allocations: 208.1 kB / 387.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.1512, allocations: 23.72 kB / 387.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.1513, allocations: 21.84 kB / 387.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1513, allocations: 0 / 387.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1513, allocations: 0 / 387.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1513, allocations: 3.984 kB / 387.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.1516, allocations: 281.4 kB / 387.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1516, allocations: 0 / 387.8 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1518, allocations: 35.97 kB / 387.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.152, allocations: 52.75 kB / 387.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.152, allocations: 4 kB / 387.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.1536, allocations: 1.543 MB / 389.5 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1536, allocations: 7.938 kB / 389.5 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1546, allocations: 398.1 kB / 389.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.1547, allocations: 96.88 kB / 390 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1548, allocations: 4 kB / 390 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.155, allocations: 28.03 kB / 390 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.1551, allocations: 23.97 kB / 390 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1551, allocations: 4 kB / 390 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1553, allocations: 176.4 kB / 390.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1553, allocations: 0 / 390.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.1558, allocations: 103.8 kB / 390.3 MB, free: 15.2 MB / 334.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.156, allocations: 103.2 kB / 390.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.1574, allocations: 0.6686 MB / 391.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1574, allocations: 0 / 391.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.1578, allocations: 210.6 kB / 391.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1582, allocations: 40.61 kB / 391.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1595, allocations: 0.5012 MB / 391.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.1599, allocations: 0.7439 MB / 392.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1601, allocations: 25.94 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.1601, allocations: 15.44 kB / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1601, allocations: 0 / 392.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Templates: time 0.008414/0.1686, allocations: 3.702 MB / 396.3 MB, free: 9.062 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)