Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.009996/0.009995, allocations: 101.7 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.001853/0.001853, allocations: 199.5 kB / 16.67 MB, free: 5.977 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.84/1.84, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001709/0.001709, allocations: 47.62 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1515, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004298/0.1559, allocations: 2.591 MB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1575, allocations: 0.7173 MB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1577, allocations: 4 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.158, allocations: 43.58 kB / 376.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1582, allocations: 79.33 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1586, allocations: 83.81 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.159, allocations: 334.6 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1592, allocations: 88.62 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1595, allocations: 131.4 kB / 377.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1597, allocations: 147.4 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.1597, allocations: 28 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.1598, allocations: 28 kB / 377.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.1599, allocations: 59.7 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.16, allocations: 135.4 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.1605, allocations: 302.9 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1605, allocations: 0 / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1605, allocations: 0 / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1605, allocations: 0 / 377.9 MB, free: 12.54 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.001387/0.1619, allocations: 0.6181 MB / 378.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1619, allocations: 12.02 kB / 378.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.162, allocations: 28.66 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.1625, allocations: 259.8 kB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1625, allocations: 20.75 kB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1626, allocations: 16.38 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.1632, allocations: 244.6 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1632, allocations: 0 / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1632, allocations: 8 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1633, allocations: 4 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.164, allocations: 247.5 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1655, allocations: 0.8053 MB / 380.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008856/0.1664, allocations: 234.5 kB / 380.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.1668, allocations: 92.78 kB / 380.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1668, allocations: 0 / 380.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.1673, allocations: 172.9 kB / 380.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.1673, allocations: 0 / 380.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001873/0.1692, allocations: 0.5379 MB / 381.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.1693, allocations: 85.11 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.1696, allocations: 237 kB / 381.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1696, allocations: 33.7 kB / 381.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1698, allocations: 164 kB / 381.7 MB, free: 8.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1698, allocations: 43.45 kB / 381.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.1699, allocations: 41.61 kB / 381.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1701, allocations: 330.8 kB / 382.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.1704, allocations: 100.7 kB / 382.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.1708, allocations: 146.7 kB / 382.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.1714, allocations: 247.4 kB / 382.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1714, allocations: 0 / 382.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001062/0.1725, allocations: 387.7 kB / 383 MB, free: 7.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.1725, allocations: 33.69 kB / 383 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.1725, allocations: 4 kB / 383 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.173, allocations: 96.72 kB / 383.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1733, allocations: 47.91 kB / 383.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.1751, allocations: 1.554 MB / 384.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.1754, allocations: 43.78 kB / 384.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1754, allocations: 8 kB / 384.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003653/0.1758, allocations: 172.1 kB / 384.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003131/0.1761, allocations: 142.7 kB / 385.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005413/0.1767, allocations: 227.5 kB / 385.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.1767, allocations: 0 / 385.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007093/0.1774, allocations: 307.5 kB / 385.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.1774, allocations: 33.7 kB / 385.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1775, allocations: 11.94 kB / 385.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.977e-05/0.1775, allocations: 29.03 kB / 385.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.1778, allocations: 47.91 kB / 385.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.1789, allocations: 1.537 MB / 387.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.1792, allocations: 35.88 kB / 387.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1792, allocations: 7.984 kB / 387.3 MB, free: 2.457 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.0002127/0.1794, allocations: 216.3 kB / 387.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1795, allocations: 19.72 kB / 387.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.1796, allocations: 21.83 kB / 387.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1796, allocations: 4 kB / 387.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1796, allocations: 0 / 387.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1796, allocations: 0 / 387.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.1799, allocations: 285.4 kB / 387.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1799, allocations: 0 / 387.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.1801, allocations: 27.97 kB / 387.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.1803, allocations: 52.81 kB / 387.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1803, allocations: 0 / 387.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.182, allocations: 1.554 MB / 389.5 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.182, allocations: 0 / 389.5 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1831, allocations: 401.4 kB / 389.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.1832, allocations: 92.89 kB / 389.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1832, allocations: 8 kB / 390 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1834, allocations: 28.02 kB / 390 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.1835, allocations: 15.98 kB / 390 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1836, allocations: 8 kB / 390 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1837, allocations: 172.5 kB / 390.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1837, allocations: 0 / 390.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005472/0.1843, allocations: 107.8 kB / 390.3 MB, free: 15.23 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.0001851/0.1845, allocations: 99.23 kB / 390.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.186, allocations: 0.6604 MB / 391 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.186, allocations: 0 / 391 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.1865, allocations: 218.5 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1868, allocations: 49.39 kB / 391.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.188, allocations: 0.4973 MB / 391.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1884, allocations: 0.7478 MB / 392.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.1885, allocations: 21.95 kB / 392.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.1886, allocations: 19.44 kB / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1886, allocations: 0 / 392.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Templates: time 0.008688/0.1973, allocations: 3.694 MB / 396.3 MB, free: 9.094 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)