Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001551/0.001552, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001664/0.001664, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.806/1.806, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.002238/0.002238, allocations: 47.94 kB / 327.9 MB, free: 3.238 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.149, allocations: 46.61 MB / 374.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2683/0.4173, allocations: 5.702 MB / 380.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.42, allocations: 1.204 MB / 381.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.4204, allocations: 20.44 kB / 381.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.4208, allocations: 169 kB / 381.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.4214, allocations: 277.4 kB / 381.9 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.4219, allocations: 219.6 kB / 382.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.4233, allocations: 1.072 MB / 383.2 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000811/0.4241, allocations: 0.5145 MB / 383.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.4246, allocations: 412.6 kB / 384.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.4252, allocations: 474.4 kB / 384.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.4253, allocations: 97.28 kB / 384.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.4255, allocations: 101.3 kB / 384.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.4257, allocations: 219.4 kB / 385 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.4262, allocations: 0.5067 MB / 385.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.4275, allocations: 1.107 MB / 386.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4276, allocations: 0 / 386.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4276, allocations: 0 / 386.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.4276, allocations: 1.125 kB / 386.6 MB, free: 7.859 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.002171/0.4298, allocations: 1.258 MB / 387.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.4298, allocations: 10.22 kB / 387.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.4301, allocations: 111.1 kB / 388 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4311, allocations: 461.7 kB / 388.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-05/0.4312, allocations: 73.03 kB / 388.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.4314, allocations: 98.61 kB / 388.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.4333, allocations: 0.869 MB / 389.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.4333, allocations: 0 / 389.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.4334, allocations: 37.72 kB / 389.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.4335, allocations: 23.12 kB / 389.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.4348, allocations: 0.5754 MB / 390.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/0.4392, allocations: 2.953 MB / 393 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.4398, allocations: 298.5 kB / 393.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.4402, allocations: 274.9 kB / 393.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.4402, allocations: 5.375 kB / 393.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4403, allocations: 37.44 kB / 393.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.773e-06/0.4403, allocations: 0 / 393.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001533/0.4418, allocations: 0.6564 MB / 394.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.4419, allocations: 56.06 kB / 394.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.4425, allocations: 0.5161 MB / 394.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.4426, allocations: 32.64 kB / 394.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.4429, allocations: 0.4943 MB / 395.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4431, allocations: 165.4 kB / 395.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.4433, allocations: 137.3 kB / 395.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4434, allocations: 365.8 kB / 396 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.4438, allocations: 167.2 kB / 396.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.4443, allocations: 456.4 kB / 396.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.4451, allocations: 0.6503 MB / 397.3 MB, free: 1.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.4452, allocations: 8 kB / 397.3 MB, free: 1.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001288/0.4464, allocations: 0.758 MB / 398.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.4465, allocations: 13.38 kB / 398.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.4465, allocations: 8.875 kB / 398.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.4469, allocations: 83.25 kB / 398.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.4477, allocations: 192.7 kB / 398.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.4497, allocations: 2.008 MB / 400.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.4503, allocations: 95.11 kB / 400.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.4504, allocations: 31.5 kB / 400.5 MB, free: 14.98 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.0003701/0.4507, allocations: 223.2 kB / 400.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4509, allocations: 63.25 kB / 400.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.451, allocations: 64.89 kB / 400.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.451, allocations: 8.062 kB / 400.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.451, allocations: 3.641 kB / 400.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.451, allocations: 1.781 kB / 400.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.4522, allocations: 0.6415 MB / 401.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4522, allocations: 4.875 kB / 401.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.4527, allocations: 99.98 kB / 401.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.4529, allocations: 74.08 kB / 401.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.453, allocations: 10.16 kB / 401.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.4549, allocations: 1.98 MB / 403.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4549, allocations: 0 / 403.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.456, allocations: 0.6692 MB / 404.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4562, allocations: 143.2 kB / 404.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.4562, allocations: 10.31 kB / 404.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.4566, allocations: 43.75 kB / 404.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.4567, allocations: 28.12 kB / 404.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.4568, allocations: 13.48 kB / 404.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.4573, allocations: 349.2 kB / 404.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4573, allocations: 0 / 404.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009662/0.4583, allocations: 249.6 kB / 405.1 MB, free: 11.78 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.0001768/0.4585, allocations: 121.5 kB / 405.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.4597, allocations: 0.5963 MB / 405.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4597, allocations: 0 / 405.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.4603, allocations: 319.4 kB / 406.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.461, allocations: 121.6 kB / 406.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.464, allocations: 1.409 MB / 407.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.4648, allocations: 0.929 MB / 408.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.4652, allocations: 72.17 kB / 408.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4653, allocations: 40.06 kB / 408.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4653, allocations: 0 / 408.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of Templates: time 0.0169/0.4822, allocations: 7.288 MB / 416 MB, free: 4.922 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)