Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01203/0.01203, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.0021/0.0021, allocations: 194 kB / 16.67 MB, free: 6.391 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.784/1.784, allocations: 205.1 MB / 222.6 MB, free: 4.555 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.001523/0.001523, allocations: 50.95 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 46.61 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005825/0.1379, allocations: 2.82 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1403, allocations: 0.7562 MB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.1409, allocations: 4 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1413, allocations: 43.56 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.1417, allocations: 107.1 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.1422, allocations: 99.8 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.1427, allocations: 394.3 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1429, allocations: 96.84 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1432, allocations: 147.5 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1434, allocations: 171.2 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.1435, allocations: 32 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.1435, allocations: 32 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.1436, allocations: 63.77 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1438, allocations: 167.1 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.1443, allocations: 354.6 kB / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1443, allocations: 0 / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1443, allocations: 0 / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1444, allocations: 0 / 378.4 MB, free: 12.01 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.001592/0.146, allocations: 0.665 MB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.146, allocations: 12.03 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1462, allocations: 52.62 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.1468, allocations: 288.6 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.1469, allocations: 16.94 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.1469, allocations: 24.38 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1477, allocations: 269.1 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1477, allocations: 4 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.1477, allocations: 4 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1477, allocations: 8 kB / 379.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.1486, allocations: 266 kB / 380 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.1506, allocations: 0.9095 MB / 380.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009077/0.1515, allocations: 234.6 kB / 381.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.1519, allocations: 112.7 kB / 381.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.1519, allocations: 0 / 381.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005963/0.1525, allocations: 185.8 kB / 381.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/0.1525, allocations: 0 / 381.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002561/0.1551, allocations: 0.6199 MB / 382.1 MB, free: 8.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1553, allocations: 106.8 kB / 382.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.1558, allocations: 258.6 kB / 382.4 MB, free: 7.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.1559, allocations: 33.7 kB / 382.5 MB, free: 7.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1561, allocations: 188.1 kB / 382.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.1562, allocations: 51.53 kB / 382.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1563, allocations: 49.7 kB / 382.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1565, allocations: 338.8 kB / 383.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.1569, allocations: 101 kB / 383.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.1573, allocations: 172 kB / 383.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.158, allocations: 263.6 kB / 383.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.158, allocations: 0 / 383.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001212/0.1593, allocations: 431.7 kB / 384 MB, free: 6.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.1593, allocations: 37.7 kB / 384.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1593, allocations: 0 / 384.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.1599, allocations: 108.7 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1601, allocations: 51.84 kB / 384.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.163, allocations: 1.892 MB / 386.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.1634, allocations: 55.77 kB / 386.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.1635, allocations: 8 kB / 386.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004102/0.1639, allocations: 184.3 kB / 386.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003442/0.1643, allocations: 152.1 kB / 386.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006018/0.1649, allocations: 243.5 kB / 386.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.1649, allocations: 3.938 kB / 386.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009675/0.1659, allocations: 351.7 kB / 387.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.1659, allocations: 33.7 kB / 387.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1659, allocations: 0 / 387.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.1661, allocations: 48.95 kB / 387.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1664, allocations: 47.95 kB / 387.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.1681, allocations: 1.725 MB / 388.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.1685, allocations: 43.84 kB / 389 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.1685, allocations: 12 kB / 389 MB, free: 0.7148 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.1687, allocations: 200.2 kB / 389.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.1688, allocations: 23.86 kB / 389.2 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.1689, allocations: 26.17 kB / 389.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1689, allocations: 4 kB / 389.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1689, allocations: 0 / 389.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1689, allocations: 0 / 389.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.1693, allocations: 313.4 kB / 389.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1693, allocations: 0 / 389.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.1695, allocations: 35.91 kB / 389.6 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.1698, allocations: 68.8 kB / 389.7 MB, free: 0 / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.1698, allocations: 80 / 389.7 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.1721, allocations: 1.727 MB / 391.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1721, allocations: 0 / 391.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.1734, allocations: 434 kB / 391.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1736, allocations: 101 kB / 391.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.1736, allocations: 12.05 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.1739, allocations: 27.97 kB / 391.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.174, allocations: 27.91 kB / 392 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1741, allocations: 4 kB / 392 MB, free: 13.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.1743, allocations: 190 kB / 392.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1743, allocations: 3.938 kB / 392.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007352/0.175, allocations: 143.7 kB / 392.3 MB, free: 13.16 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.1752, allocations: 111.2 kB / 392.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.1771, allocations: 0.7069 MB / 393.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.1771, allocations: 0 / 393.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.1777, allocations: 247.1 kB / 393.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1781, allocations: 49.48 kB / 393.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1795, allocations: 0.5478 MB / 394 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.18, allocations: 0.7598 MB / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.1802, allocations: 30.28 kB / 394.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.1803, allocations: 23.44 kB / 394.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1803, allocations: 4 kB / 394.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.01179/0.1921, allocations: 4.539 MB / 399.3 MB, free: 6.02 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)