Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.01012/0.01012, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001864/0.001864, allocations: 192.6 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.7/1.7, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001352/0.001352, allocations: 56.19 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 46.61 MB / 373.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006337/0.1237, allocations: 5.704 MB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1266, allocations: 1.204 MB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.1272, allocations: 20 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.1277, allocations: 170.3 kB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.1284, allocations: 277.4 kB / 380.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.129, allocations: 223.7 kB / 380.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1303, allocations: 1.071 MB / 381.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007869/0.1311, allocations: 0.5102 MB / 382.4 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.1316, allocations: 418.6 kB / 382.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.1322, allocations: 477.9 kB / 383.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1323, allocations: 96 kB / 383.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1324, allocations: 104 kB / 383.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1326, allocations: 215.2 kB / 383.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.1331, allocations: 0.5055 MB / 384.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1342, allocations: 1.098 MB / 385.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1342, allocations: 0 / 385.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1342, allocations: 0 / 385.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1342, allocations: 0 / 385.3 MB, free: 5.125 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.001945/0.1362, allocations: 1.24 MB / 386.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1362, allocations: 12.03 kB / 386.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.1364, allocations: 99.81 kB / 386.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.1371, allocations: 459.1 kB / 387.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.1372, allocations: 74.38 kB / 387.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.1374, allocations: 100.2 kB / 387.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1388, allocations: 0.8677 MB / 388.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1388, allocations: 4 kB / 388.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/0.1389, allocations: 40 kB / 388.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1389, allocations: 24 kB / 388.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.1399, allocations: 0.5738 MB / 388.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.1442, allocations: 2.941 MB / 391.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.1446, allocations: 306.4 kB / 392 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.145, allocations: 268.8 kB / 392.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.145, allocations: 4 kB / 392.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.145, allocations: 38.56 kB / 392.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.145, allocations: 0 / 392.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001507/0.1465, allocations: 0.6509 MB / 392.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1466, allocations: 59.34 kB / 393 MB, free: 13.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.1472, allocations: 0.5181 MB / 393.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1472, allocations: 33.7 kB / 393.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.1476, allocations: 493.5 kB / 394 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.1477, allocations: 153.9 kB / 394.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.1479, allocations: 138.4 kB / 394.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1481, allocations: 362.8 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.1484, allocations: 173.9 kB / 394.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.1488, allocations: 461.4 kB / 395.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007327/0.1496, allocations: 0.6403 MB / 395.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.1496, allocations: 4 kB / 395.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001151/0.1507, allocations: 0.761 MB / 396.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.1508, allocations: 8 kB / 396.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1508, allocations: 15.94 kB / 396.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.1511, allocations: 76.81 kB / 396.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.1518, allocations: 203.9 kB / 397 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.1536, allocations: 1.998 MB / 399 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.1542, allocations: 87.03 kB / 399.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1542, allocations: 32 kB / 399.1 MB, free: 6.527 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.0003442/0.1546, allocations: 225.5 kB / 399.3 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1547, allocations: 59.34 kB / 399.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1548, allocations: 57.52 kB / 399.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1548, allocations: 8 kB / 399.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.1549, allocations: 7.984 kB / 399.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.1549, allocations: 0 / 399.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.1556, allocations: 0.6414 MB / 400.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1557, allocations: 4 kB / 400.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.1561, allocations: 95.88 kB / 400.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.1563, allocations: 72.73 kB / 400.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.1563, allocations: 15.94 kB / 400.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.1581, allocations: 1.998 MB / 402.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.1581, allocations: 4.031 kB / 402.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.1591, allocations: 0.6502 MB / 402.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1592, allocations: 140.3 kB / 403.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.1593, allocations: 16.06 kB / 403.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.1597, allocations: 39.97 kB / 403.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.1598, allocations: 27.95 kB / 403.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1598, allocations: 19.94 kB / 403.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003785/0.1602, allocations: 350.9 kB / 403.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1602, allocations: 0 / 403.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008098/0.161, allocations: 243.2 kB / 403.7 MB, free: 1.637 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.0001786/0.1612, allocations: 107.2 kB / 403.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009888/0.1622, allocations: 0.5968 MB / 404.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1622, allocations: 0 / 404.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.1627, allocations: 318.8 kB / 404.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.1633, allocations: 126.4 kB / 404.9 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1656, allocations: 1.371 MB / 406.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1661, allocations: 0.9337 MB / 407.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.1664, allocations: 69.22 kB / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.1665, allocations: 43.38 kB / 407.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1665, allocations: 0 / 407.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01396/0.1805, allocations: 7.281 MB / 414.6 MB, free: 6.699 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)