Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01407/0.01407, allocations: 104.2 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.002721/0.002722, allocations: 194 kB / 16.67 MB, free: 5.969 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.905/1.905, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001241/0.001241, allocations: 55.66 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00481/0.1192, allocations: 2.812 MB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1209, allocations: 0.7641 MB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.121, allocations: 4 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1213, allocations: 43.52 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1215, allocations: 99.17 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1219, allocations: 99.8 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.1224, allocations: 394.3 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.1227, allocations: 96.86 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.123, allocations: 155.4 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1232, allocations: 163.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.1233, allocations: 32 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.559e-05/0.1234, allocations: 32 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.1234, allocations: 63.77 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.1236, allocations: 167.1 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.124, allocations: 354.8 kB / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1241, allocations: 0 / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1241, allocations: 0 / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1241, allocations: 3.938 kB / 378.4 MB, free: 12.02 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.00151/0.1256, allocations: 0.6536 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1257, allocations: 8.031 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.1258, allocations: 40.56 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.1262, allocations: 292.4 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1263, allocations: 20.92 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1263, allocations: 28.38 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.127, allocations: 265.1 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.127, allocations: 0 / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1271, allocations: 4 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1271, allocations: 8 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007966/0.1279, allocations: 266 kB / 380 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1297, allocations: 0.9093 MB / 380.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.1305, allocations: 242.6 kB / 381.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.1308, allocations: 112.7 kB / 381.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.1309, allocations: 4 kB / 381.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.1314, allocations: 177.8 kB / 381.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.1314, allocations: 4 kB / 381.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002178/0.1336, allocations: 0.6159 MB / 382.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.1337, allocations: 110.8 kB / 382.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.134, allocations: 262.6 kB / 382.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.134, allocations: 37.7 kB / 382.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1342, allocations: 179.8 kB / 382.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.1342, allocations: 47.27 kB / 382.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.1343, allocations: 49.7 kB / 382.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1345, allocations: 334.8 kB / 383.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.1348, allocations: 109 kB / 383.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1352, allocations: 164 kB / 383.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.1358, allocations: 267.5 kB / 383.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1358, allocations: 0 / 383.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001136/0.137, allocations: 435.5 kB / 384 MB, free: 6.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.137, allocations: 29.7 kB / 384 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1371, allocations: 4 kB / 384 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.1376, allocations: 112.7 kB / 384.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.1378, allocations: 47.91 kB / 384.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.1402, allocations: 1.892 MB / 386.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1405, allocations: 55.66 kB / 386.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1406, allocations: 12 kB / 386.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003891/0.141, allocations: 184.3 kB / 386.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003185/0.1413, allocations: 156.1 kB / 386.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005301/0.1419, allocations: 239.5 kB / 386.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.1419, allocations: 3.938 kB / 386.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008148/0.1427, allocations: 355.7 kB / 387.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.1427, allocations: 33.7 kB / 387.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1428, allocations: 0 / 387.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.1429, allocations: 44.83 kB / 387.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.1431, allocations: 43.95 kB / 387.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1446, allocations: 1.721 MB / 388.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.1449, allocations: 47.88 kB / 389 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.145, allocations: 12 kB / 389 MB, free: 0.7422 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.0002014/0.1452, allocations: 196.1 kB / 389.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.1453, allocations: 27.7 kB / 389.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.1453, allocations: 22.19 kB / 389.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1453, allocations: 4 kB / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1453, allocations: 4 kB / 389.2 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1453, allocations: 3.984 kB / 389.2 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.1457, allocations: 313.3 kB / 389.5 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1457, allocations: 0 / 389.5 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.1459, allocations: 31.91 kB / 389.6 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.1461, allocations: 64.81 kB / 389.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1462, allocations: 7.984 kB / 389.6 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.1481, allocations: 1.715 MB / 391.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1482, allocations: 0 / 391.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.1494, allocations: 437.3 kB / 391.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.1495, allocations: 104.8 kB / 391.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1495, allocations: 0 / 391.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1498, allocations: 36.02 kB / 391.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.1499, allocations: 19.98 kB / 391.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1499, allocations: 11.98 kB / 392 MB, free: 13.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.1501, allocations: 186 kB / 392.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1501, allocations: 3.938 kB / 392.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005841/0.1507, allocations: 139.7 kB / 392.3 MB, free: 13.21 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.0001737/0.1509, allocations: 115.1 kB / 392.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1524, allocations: 0.7149 MB / 393.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1524, allocations: 0 / 393.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.1529, allocations: 234.5 kB / 393.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1533, allocations: 52.69 kB / 393.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1545, allocations: 0.5341 MB / 393.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1549, allocations: 0.7637 MB / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.155, allocations: 22.3 kB / 394.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.1551, allocations: 23.44 kB / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1551, allocations: 0 / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Templates: time 0.009386/0.1645, allocations: 4.536 MB / 399.3 MB, free: 6.082 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)