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.007965/0.007965, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001704/0.001704, allocations: 194.7 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.73/1.73, allocations: 205.1 MB / 222.6 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.001125/0.001125, allocations: 54.42 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004975/0.112, allocations: 2.812 MB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1135, allocations: 0.7602 MB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.1137, allocations: 4 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.114, allocations: 47.5 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1142, allocations: 99.19 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1146, allocations: 99.8 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.1153, allocations: 394.2 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.1155, allocations: 100.9 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.1158, allocations: 147.5 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.116, allocations: 167.2 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.1161, allocations: 32 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.1162, allocations: 32 kB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.1162, allocations: 63.77 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1164, allocations: 175.1 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.1169, allocations: 350.8 kB / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1169, allocations: 0 / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1169, allocations: 3.938 kB / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1169, allocations: 0 / 378.5 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.001424/0.1183, allocations: 0.6536 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1184, allocations: 16.02 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.1185, allocations: 32.56 kB / 379.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.1189, allocations: 288.4 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1189, allocations: 16.94 kB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.119, allocations: 28.38 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.1197, allocations: 269.1 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1197, allocations: 0 / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1197, allocations: 8 kB / 379.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1197, allocations: 8 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007094/0.1205, allocations: 266 kB / 380 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.122, allocations: 0.9015 MB / 380.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.1227, allocations: 234.6 kB / 381.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.1231, allocations: 112.7 kB / 381.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1231, allocations: 3.938 kB / 381.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.1235, allocations: 185.8 kB / 381.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1235, allocations: 4 kB / 381.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001837/0.1254, allocations: 0.612 MB / 382.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.1255, allocations: 110.7 kB / 382.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1258, allocations: 262.6 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1258, allocations: 37.69 kB / 382.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1259, allocations: 183.8 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.126, allocations: 51.27 kB / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.1261, allocations: 41.7 kB / 382.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1263, allocations: 334.8 kB / 383.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.1266, allocations: 105 kB / 383.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.1269, allocations: 168 kB / 383.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.1275, allocations: 267.6 kB / 383.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1275, allocations: 0 / 383.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001005/0.1285, allocations: 431.5 kB / 384 MB, free: 6.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.1286, allocations: 33.7 kB / 384 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1286, allocations: 0 / 384 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.129, allocations: 120.7 kB / 384.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1293, allocations: 47.89 kB / 384.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.1312, allocations: 1.892 MB / 386.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.1315, allocations: 59.73 kB / 386.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.1316, allocations: 4 kB / 386.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000303/0.1319, allocations: 196.2 kB / 386.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002802/0.1322, allocations: 148.1 kB / 386.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004763/0.1326, allocations: 239.5 kB / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.1327, allocations: 0 / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007114/0.1334, allocations: 351.7 kB / 387.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.1334, allocations: 33.7 kB / 387.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1334, allocations: 7.922 kB / 387.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.1336, allocations: 40.84 kB / 387.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1338, allocations: 43.95 kB / 387.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.135, allocations: 1.721 MB / 388.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1353, allocations: 47.86 kB / 389 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1353, allocations: 8 kB / 389 MB, free: 0.7578 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.0001266/0.1355, allocations: 200.1 kB / 389.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.1355, allocations: 23.72 kB / 389.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.1356, allocations: 26.17 kB / 389.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1356, allocations: 8 kB / 389.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1356, allocations: 0 / 389.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1356, allocations: 0 / 389.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1358, allocations: 309.3 kB / 389.5 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1359, allocations: 0 / 389.5 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.136, allocations: 35.89 kB / 389.6 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.1362, allocations: 72.8 kB / 389.6 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1363, allocations: 4 kB / 389.6 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.138, allocations: 1.715 MB / 391.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.138, allocations: 0 / 391.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.139, allocations: 433.3 kB / 391.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.1391, allocations: 100.9 kB / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1391, allocations: 7.984 kB / 391.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1394, allocations: 32.03 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.1394, allocations: 23.97 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1395, allocations: 4 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1396, allocations: 190 kB / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1396, allocations: 3.938 kB / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005073/0.1402, allocations: 139.7 kB / 392.3 MB, free: 13.22 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.00015/0.1403, allocations: 111.1 kB / 392.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.1417, allocations: 0.7188 MB / 393.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1417, allocations: 0 / 393.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.1421, allocations: 234.5 kB / 393.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1425, allocations: 65.78 kB / 393.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1435, allocations: 0.5302 MB / 393.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1438, allocations: 0.7598 MB / 394.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.144, allocations: 26.28 kB / 394.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.144, allocations: 23.44 kB / 394.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.144, allocations: 0 / 394.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.009067/0.1531, allocations: 4.547 MB / 399.3 MB, free: 6.078 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)