Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [: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.001704/0.001704, allocations: 187.3 kB / 8.133 MB, free: 2.176 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.106/1.106, allocations: 194.2 MB / 202.8 MB, free: 8.641 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.001769/0.001769, allocations: 122.5 kB / 247.7 MB, free: 6.422 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.345e-06/8.466e-06, allocations: 0 / 297.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09102, allocations: 44.48 MB / 342.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.3003, allocations: 72.12 MB / 414.2 MB, free: 23.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.3005, allocations: 73.62 kB / 414.2 MB, free: 23.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0114/0.3119, allocations: 4.381 MB / 418.6 MB, free: 19.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.312, allocations: 8 kB / 418.6 MB, free: 19.62 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005859/0.3126, allocations: 0.5281 MB / 419.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3126, allocations: 10.09 kB / 419.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.3127, allocations: 35.62 kB / 419.2 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.313, allocations: 245.6 kB / 419.4 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.313, allocations: 17.47 kB / 419.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.313, allocations: 19.98 kB / 419.5 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002564/0.3133, allocations: 150.2 kB / 419.6 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.3136, allocations: 198.6 kB / 419.8 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3136, allocations: 0 / 419.8 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3137, allocations: 0 / 419.8 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3137, allocations: 12 kB / 419.8 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.315, allocations: 0.9686 MB / 420.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3152, allocations: 107.5 kB / 420.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3156, allocations: 217.4 kB / 421.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3156, allocations: 4.188 kB / 421.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.3156, allocations: 42.67 kB / 421.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.3157, allocations: 0 / 421.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009268/0.3166, allocations: 0.5921 MB / 421.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.502e-05/0.3166, allocations: 59.41 kB / 421.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3167, allocations: 156.8 kB / 422 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3167, allocations: 25.7 kB / 422 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.3168, allocations: 154.3 kB / 422.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3168, allocations: 84.88 kB / 422.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.3169, allocations: 0 / 422.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.3169, allocations: 332.5 kB / 422.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.317, allocations: 57.06 kB / 422.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.3171, allocations: 82.38 kB / 422.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.224e-05/0.3172, allocations: 69.98 kB / 422.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3172, allocations: 0 / 422.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000357/0.3175, allocations: 254 kB / 423 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3176, allocations: 4 kB / 423 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3176, allocations: 0 / 423 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.3178, allocations: 72.39 kB / 423.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.318, allocations: 49.84 kB / 423.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.3194, allocations: 1.704 MB / 424.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.3196, allocations: 0 / 424.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3196, allocations: 11.81 kB / 424.8 MB, free: 13.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 8.26e-05/0.3197, allocations: 104.8 kB / 424.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.3197, allocations: 23.86 kB / 425 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.3198, allocations: 28.73 kB / 425 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3198, allocations: 3.906 kB / 425 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3198, allocations: 4 kB / 425 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3198, allocations: 1.219 kB / 425 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.3206, allocations: 0.5934 MB / 425.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3206, allocations: 7.938 kB / 425.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3208, allocations: 39.11 kB / 425.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.321, allocations: 67.42 kB / 425.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.321, allocations: 3.438 kB / 425.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3222, allocations: 1.694 MB / 427.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3222, allocations: 3.906 kB / 427.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004193/0.3226, allocations: 408 kB / 427.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.3226, allocations: 92.91 kB / 427.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3227, allocations: 1.031 kB / 427.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.3229, allocations: 12 kB / 427.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3229, allocations: 19.12 kB / 427.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3229, allocations: 4 kB / 427.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001232/0.3231, allocations: 133.5 kB / 428.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.3235, allocations: 68 kB / 428.1 MB, free: 10.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001169/0.3236, allocations: 99.25 kB / 428.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.3241, allocations: 292.8 kB / 428.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3241, allocations: 0 / 428.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.3244, allocations: 212.2 kB / 428.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.3246, allocations: 27.83 kB / 428.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.3256, allocations: 0.6085 MB / 429.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.3258, allocations: 0.7868 MB / 430.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3258, allocations: 0 / 430.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of Templates: time 0.005569/0.3314, allocations: 2.736 MB / 432.9 MB, free: 6.227 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)