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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00116/0.00116, allocations: 190.8 kB / 8.139 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.082/1.082, allocations: 194.2 MB / 202.8 MB, free: 8.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001689/0.001689, allocations: 116 kB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.315e-06, allocations: 4 kB / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.08228, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.32, allocations: 73.79 MB / 415.8 MB, free: 21.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3202, allocations: 74.61 kB / 415.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02968/0.3499, allocations: 12.68 MB / 428.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.35, allocations: 16 kB / 428.6 MB, free: 11.02 MB / 314.7 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.001742/0.3518, allocations: 1.036 MB / 429.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3518, allocations: 8.031 kB / 429.7 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.3521, allocations: 102.8 kB / 429.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.3527, allocations: 443.2 kB / 430.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3528, allocations: 32 kB / 430.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3529, allocations: 59.91 kB / 430.3 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008765/0.3538, allocations: 499 kB / 430.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3548, allocations: 0.6961 MB / 431.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3549, allocations: 0 / 431.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.3549, allocations: 4 kB / 431.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.355, allocations: 20 kB / 431.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.3586, allocations: 2.857 MB / 434.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3589, allocations: 249.4 kB / 434.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.3592, allocations: 240.9 kB / 434.8 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3592, allocations: 4 kB / 434.8 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3593, allocations: 41.75 kB / 434.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.3593, allocations: 0 / 434.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006146/0.3599, allocations: 364.7 kB / 435.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.3599, allocations: 59.41 kB / 435.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.3603, allocations: 408.6 kB / 435.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3603, allocations: 25.7 kB / 435.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3604, allocations: 451.1 kB / 436.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.3605, allocations: 149 kB / 436.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.3605, allocations: 0 / 436.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.3606, allocations: 361.8 kB / 436.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3608, allocations: 139.6 kB / 436.8 MB, free: 4.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.3611, allocations: 414.7 kB / 437.2 MB, free: 3.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.3614, allocations: 214.7 kB / 437.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3614, allocations: 0 / 437.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009133/0.3623, allocations: 0.6358 MB / 438 MB, free: 2.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3624, allocations: 4 kB / 438 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3624, allocations: 16.06 kB / 438 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.3626, allocations: 78.94 kB / 438.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.3633, allocations: 207.5 kB / 438.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.3647, allocations: 1.716 MB / 440 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.3652, allocations: 67.12 kB / 440.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.3652, allocations: 38.12 kB / 440.1 MB, free: 0.8984 MB / 314.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.3654, allocations: 129 kB / 440.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3655, allocations: 58.28 kB / 440.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.3656, allocations: 53.3 kB / 440.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3656, allocations: 18.95 kB / 440.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3657, allocations: 0 / 440.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3657, allocations: 3.984 kB / 440.4 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.3662, allocations: 0.5248 MB / 440.9 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3663, allocations: 4 kB / 440.9 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.3667, allocations: 102.9 kB / 441 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.3669, allocations: 74.19 kB / 441.1 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.3669, allocations: 5.578 kB / 441.1 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.3685, allocations: 1.701 MB / 442.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3685, allocations: 0 / 442.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008097/0.3693, allocations: 0.6043 MB / 443.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3695, allocations: 131.2 kB / 443.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.3696, allocations: 4 kB / 443.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.37, allocations: 45.28 kB / 443.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.3701, allocations: 19.41 kB / 443.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.3701, allocations: 12 kB / 443.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002873/0.3704, allocations: 300.8 kB / 443.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007502/0.3712, allocations: 227.1 kB / 444.1 MB, free: 13.29 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.3714, allocations: 99.19 kB / 444.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.3722, allocations: 0.5151 MB / 444.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3722, allocations: 0 / 444.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.3726, allocations: 265.8 kB / 445 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.373, allocations: 80.62 kB / 445.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3751, allocations: 1.072 MB / 446.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/0.3757, allocations: 0.9954 MB / 447.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3757, allocations: 0 / 447.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Templates: time 0.01251/0.3882, allocations: 6.379 MB / 453.5 MB, free: 4.145 MB / 330.7 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)