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.007743/0.007743, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001386/0.001386, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.734/1.734, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001222/0.001222, allocations: 44.06 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1158, 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.004202/0.1201, allocations: 2.816 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1215, allocations: 0.7485 MB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1216, allocations: 7.938 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1219, allocations: 39.58 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1221, allocations: 111.1 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1224, allocations: 103.8 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.1228, allocations: 390.3 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.123, allocations: 92.88 kB / 377.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1233, allocations: 155.4 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1235, allocations: 171.2 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.1236, allocations: 32 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.1236, allocations: 32 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.1237, allocations: 63.7 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1239, allocations: 167.2 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.1243, allocations: 346.8 kB / 378.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1243, allocations: 0 / 378.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1243, allocations: 0 / 378.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1244, allocations: 0 / 378.4 MB, free: 12.03 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.001385/0.1257, allocations: 0.6575 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1258, allocations: 15.97 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.1259, allocations: 36.56 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.1263, allocations: 288.5 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1264, allocations: 20.88 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.1264, allocations: 24.38 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.127, allocations: 265.1 kB / 379.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1271, allocations: 4 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1271, allocations: 12 kB / 379.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1271, allocations: 4 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.1279, allocations: 270 kB / 380 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1295, allocations: 0.9093 MB / 380.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.1302, allocations: 234.6 kB / 381.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.1305, allocations: 108.7 kB / 381.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1305, allocations: 0 / 381.3 MB, free: 9.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.1309, allocations: 185.7 kB / 381.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1309, allocations: 0 / 381.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001904/0.1328, allocations: 0.6202 MB / 382.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.1329, allocations: 110.8 kB / 382.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1332, allocations: 266.6 kB / 382.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1332, allocations: 25.7 kB / 382.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1334, allocations: 183.8 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.1334, allocations: 51.27 kB / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.1335, allocations: 41.7 kB / 382.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1337, allocations: 338.8 kB / 383.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.134, allocations: 101 kB / 383.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1344, allocations: 172 kB / 383.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.135, allocations: 267.5 kB / 383.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.135, allocations: 0 / 383.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009956/0.136, allocations: 435.5 kB / 384 MB, free: 6.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.136, allocations: 34.8 kB / 384 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.136, allocations: 3.938 kB / 384 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.1365, allocations: 116.7 kB / 384.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.1368, allocations: 47.94 kB / 384.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.1388, allocations: 1.892 MB / 386.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1391, allocations: 51.69 kB / 386.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.1391, allocations: 8 kB / 386.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004392/0.1395, allocations: 188.3 kB / 386.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002792/0.1398, allocations: 156.1 kB / 386.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004573/0.1403, allocations: 235.5 kB / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1403, allocations: 0 / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007453/0.1411, allocations: 359.4 kB / 387.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.1411, allocations: 33.7 kB / 387.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1411, allocations: 4 kB / 387.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.1412, allocations: 45.02 kB / 387.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1414, allocations: 47.91 kB / 387.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.1429, allocations: 1.717 MB / 388.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.1432, allocations: 43.81 kB / 389 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1432, allocations: 4 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.0001857/0.1434, allocations: 208.1 kB / 389.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.1434, allocations: 27.7 kB / 389.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.1435, allocations: 22.19 kB / 389.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1435, allocations: 7.984 kB / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1435, allocations: 0 / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1435, allocations: 3.984 kB / 389.2 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.1439, allocations: 309.3 kB / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.144, allocations: 0 / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.1442, allocations: 35.97 kB / 389.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.1444, allocations: 64.75 kB / 389.6 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1444, allocations: 7.984 kB / 389.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.1467, allocations: 1.708 MB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1467, allocations: 3.938 kB / 391.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1479, allocations: 437.4 kB / 391.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.148, allocations: 104.9 kB / 391.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.1481, allocations: 8 kB / 391.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1483, allocations: 27.95 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1484, allocations: 19.98 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1484, allocations: 11.92 kB / 391.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.1487, allocations: 186 kB / 392.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1487, allocations: 4 kB / 392.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000717/0.1495, 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.0002133/0.1497, allocations: 111.2 kB / 392.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1511, allocations: 0.7144 MB / 393.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1511, allocations: 4 kB / 393.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.1516, allocations: 235.2 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.0003288/0.1519, allocations: 60.38 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.001214/0.1531, allocations: 0.5331 MB / 393.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1536, allocations: 0.7598 MB / 394.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.1537, allocations: 26.28 kB / 394.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.1538, allocations: 23.44 kB / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1538, allocations: 0 / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Templates: time 0.009587/0.1634, allocations: 4.541 MB / 399.3 MB, free: 6.078 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)