Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008188/0.008188, allocations: 100.7 kB / 15.73 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.00153/0.00153, allocations: 199.3 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.731/1.731, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001321/0.001321, allocations: 58.38 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 46.62 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007579/0.1136, allocations: 5.7 MB / 378.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.1172, allocations: 1.204 MB / 380.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.1181, allocations: 16 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.1187, allocations: 170.4 kB / 380.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008824/0.1196, allocations: 289.4 kB / 380.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.1202, allocations: 215.7 kB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1212, allocations: 1.063 MB / 381.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.1219, allocations: 0.5258 MB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.1223, allocations: 414.6 kB / 382.8 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.1228, allocations: 474 kB / 383.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.1229, allocations: 100 kB / 383.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1231, allocations: 96 kB / 383.4 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1232, allocations: 215.2 kB / 383.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.1237, allocations: 0.5016 MB / 384.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009265/0.1246, allocations: 1.105 MB / 385.3 MB, free: 5.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1246, allocations: 3.938 kB / 385.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1246, allocations: 4 kB / 385.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1246, allocations: 0 / 385.3 MB, free: 5.129 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001763/0.1264, allocations: 1.24 MB / 386.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1264, allocations: 8.031 kB / 386.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1266, allocations: 99.81 kB / 386.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.1272, allocations: 463 kB / 387.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.1273, allocations: 70.38 kB / 387.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1274, allocations: 92.38 kB / 387.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1287, allocations: 0.8794 MB / 388.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1287, allocations: 3.938 kB / 388.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.1288, allocations: 36 kB / 388.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.1288, allocations: 28 kB / 388.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/0.1297, allocations: 0.5739 MB / 388.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.1338, allocations: 2.933 MB / 391.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.1343, allocations: 302.4 kB / 392 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.1347, allocations: 272.8 kB / 392.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1347, allocations: 4 kB / 392.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.1348, allocations: 38.56 kB / 392.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.305e-06/0.1348, allocations: 0 / 392.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001538/0.1363, allocations: 0.6548 MB / 392.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1364, allocations: 55.41 kB / 393 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.137, allocations: 0.5181 MB / 393.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.137, allocations: 29.7 kB / 393.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.1373, allocations: 493.5 kB / 394 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1375, allocations: 153.9 kB / 394.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.1377, allocations: 134.5 kB / 394.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1378, allocations: 370.7 kB / 394.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1381, allocations: 169.9 kB / 394.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.1387, allocations: 457.4 kB / 395.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.1395, allocations: 0.6441 MB / 395.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1395, allocations: 0 / 395.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001135/0.1406, allocations: 0.7609 MB / 396.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1407, allocations: 16.16 kB / 396.7 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.1407, allocations: 8 kB / 396.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.141, allocations: 88.75 kB / 396.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.1416, allocations: 191.7 kB / 397 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.1437, allocations: 2.006 MB / 399 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.1442, allocations: 83.03 kB / 399.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.1443, allocations: 36 kB / 399.1 MB, free: 6.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003444/0.1446, allocations: 217.5 kB / 399.3 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.1447, allocations: 59.34 kB / 399.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1448, allocations: 69.5 kB / 399.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1449, allocations: 4 kB / 399.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1449, allocations: 0 / 399.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.1449, allocations: 3.984 kB / 399.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.1457, allocations: 0.6414 MB / 400.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1458, allocations: 0 / 400.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.1462, allocations: 103.9 kB / 400.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.1464, allocations: 80.95 kB / 400.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.1464, allocations: 8 kB / 400.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.1482, allocations: 1.982 MB / 402.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1482, allocations: 4.062 kB / 402.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.1491, allocations: 0.6619 MB / 402.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1493, allocations: 132.3 kB / 403.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.1493, allocations: 8 kB / 403.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.1497, allocations: 47.97 kB / 403.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.1498, allocations: 31.89 kB / 403.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1498, allocations: 16 kB / 403.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003945/0.1502, allocations: 346.9 kB / 403.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1502, allocations: 0 / 403.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007509/0.151, allocations: 243.2 kB / 403.7 MB, free: 1.664 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.1511, allocations: 119.2 kB / 403.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1522, allocations: 0.5933 MB / 404.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1522, allocations: 0 / 404.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.1527, allocations: 318.2 kB / 404.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.1533, allocations: 122.7 kB / 404.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1557, allocations: 1.386 MB / 406.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.1563, allocations: 0.9298 MB / 407.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.1566, allocations: 73.2 kB / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.1567, allocations: 39.44 kB / 407.3 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1567, allocations: 0 / 407.3 MB, free: 14 MB / 350.1 MB Notification: Performance of Templates: time 0.01358/0.1703, allocations: 7.288 MB / 414.6 MB, free: 6.703 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)