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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [: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.1+maint.om/package.mo): time 0.003509/0.003509, allocations: 182.2 kB / 7.455 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.385/1.385, allocations: 170.6 MB / 178.4 MB, free: 15.78 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001651/0.001651, allocations: 108 kB / 217.7 MB, free: 8.559 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/9.077e-06, allocations: 0 / 261.7 MB, free: 26.7 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09887, allocations: 38.76 MB / 300.5 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.3702, allocations: 68.68 MB / 369.2 MB, free: 44 kB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3704, allocations: 65.22 kB / 369.2 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd: time 0.03413/0.4045, allocations: 12.98 MB / 382.2 MB, free: 5.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.663e-05/0.4046, allocations: 20 kB / 382.2 MB, free: 5.082 MB / 266.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.001689/0.4063, allocations: 1.034 MB / 383.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4064, allocations: 12.02 kB / 383.3 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.4066, allocations: 102.8 kB / 383.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.4073, allocations: 439.6 kB / 383.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.4074, allocations: 32 kB / 383.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4075, allocations: 63.09 kB / 383.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008257/0.4083, allocations: 498 kB / 384.4 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.4094, allocations: 0.6922 MB / 385.1 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4094, allocations: 3.938 kB / 385.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.4095, allocations: 0 / 385.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.4095, allocations: 24 kB / 385.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.4137, allocations: 2.852 MB / 388 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.414, allocations: 249.3 kB / 388.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.4143, allocations: 241.6 kB / 388.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4143, allocations: 11.78 kB / 388.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4144, allocations: 49.88 kB / 388.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.4144, allocations: 0 / 388.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007163/0.4151, allocations: 362.5 kB / 388.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.4152, allocations: 59.41 kB / 388.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.4156, allocations: 399.5 kB / 389.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.4156, allocations: 29.7 kB / 389.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.4159, allocations: 453.4 kB / 389.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.416, allocations: 150.9 kB / 389.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.4161, allocations: 0 / 389.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4163, allocations: 362.5 kB / 390.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4165, allocations: 139.9 kB / 390.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.4169, allocations: 412.8 kB / 390.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.4172, allocations: 212.9 kB / 391 MB, free: 13.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4172, allocations: 4 kB / 391 MB, free: 13.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001034/0.4182, allocations: 0.6336 MB / 391.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4183, allocations: 4 kB / 391.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4183, allocations: 8 kB / 391.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.4186, allocations: 85.28 kB / 391.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.4193, allocations: 195 kB / 392 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.4212, allocations: 1.732 MB / 393.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.4217, allocations: 67.22 kB / 393.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.4217, allocations: 39.19 kB / 393.8 MB, free: 10.95 MB / 282.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.0001849/0.4219, allocations: 128 kB / 393.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.422, allocations: 59.33 kB / 394 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.206e-05/0.4221, allocations: 51.8 kB / 394 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4221, allocations: 4 kB / 394 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4222, allocations: 4 kB / 394 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4222, allocations: 7.922 kB / 394 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.4228, allocations: 0.5317 MB / 394.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4228, allocations: 0 / 394.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.4233, allocations: 103.9 kB / 394.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.4235, allocations: 68.72 kB / 394.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.4235, allocations: 7.297 kB / 394.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.4251, allocations: 1.699 MB / 396.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4252, allocations: 0 / 396.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007917/0.426, allocations: 0.6023 MB / 397.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4261, allocations: 128.3 kB / 397.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.4262, allocations: 0 / 397.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.4266, allocations: 51.95 kB / 397.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.4266, allocations: 23.97 kB / 397.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.4267, allocations: 8 kB / 397.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.00029/0.427, allocations: 295.8 kB / 397.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007564/0.4277, allocations: 235 kB / 397.8 MB, free: 7.348 MB / 282.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.0001828/0.4279, allocations: 103.9 kB / 397.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008064/0.4287, allocations: 0.5106 MB / 398.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4288, allocations: 8 kB / 398.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.4292, allocations: 271.3 kB / 398.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4296, allocations: 81.02 kB / 398.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.4319, allocations: 1.065 MB / 399.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/0.4328, allocations: 0.9876 MB / 400.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4328, allocations: 4 kB / 400.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of Templates: time 0.0153/0.4482, allocations: 6.381 MB / 407.2 MB, free: 14.12 MB / 298.7 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)