Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC") [: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.002769/0.002769, allocations: 179.4 kB / 7.455 MB, free: 2.488 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.353/1.353, allocations: 170.6 MB / 178.4 MB, free: 15.8 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.001705/0.001705, allocations: 111.8 kB / 217.7 MB, free: 8.574 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.546e-06, allocations: 0 / 261.7 MB, free: 26.72 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08766/0.08769, allocations: 38.76 MB / 300.5 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/0.3529, allocations: 70.29 MB / 370.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3532, allocations: 65.34 kB / 370.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.08941/0.4427, allocations: 32.68 MB / 403.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000208/0.4429, allocations: 51.98 kB / 403.6 MB, free: 3.152 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.007771/0.4507, allocations: 2.365 MB / 406 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.4508, allocations: 8.031 kB / 406 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.4521, allocations: 253 kB / 406.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.4547, allocations: 0.951 MB / 407.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.4548, allocations: 72.69 kB / 407.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.4555, allocations: 138.9 kB / 407.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004504/0.4601, allocations: 1.499 MB / 408.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.4656, allocations: 1.945 MB / 410.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.4656, allocations: 3.906 kB / 410.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.4659, allocations: 8 kB / 410.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-05/0.466, allocations: 59.94 kB / 410.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.4823, allocations: 8.293 MB / 419.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.4852, allocations: 1.589 MB / 420.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.4869, allocations: 0.938 MB / 421.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.4871, allocations: 25.98 kB / 421.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.4887, allocations: 0.7808 MB / 422.5 MB, free: 496 kB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 5.992e-06/0.4888, allocations: 0 / 422.5 MB, free: 496 kB / 298.7 MB Notification: Performance of matching and sorting (n=207): time 0.005159/0.4939, allocations: 2.172 MB / 424.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.494, allocations: 81.39 kB / 424.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4954, allocations: 0.7216 MB / 425.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.4955, allocations: 33.7 kB / 425.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006471/0.4962, allocations: 0.6902 MB / 426.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006535/0.4968, allocations: 0.639 MB / 426.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.497, allocations: 0 / 426.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.4972, allocations: 394.5 kB / 427.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.4984, allocations: 0.571 MB / 427.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.4999, allocations: 1.104 MB / 428.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5011, allocations: 0.6617 MB / 429.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.5012, allocations: 4 kB / 429.6 MB, free: 9.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005659/0.5068, allocations: 2.567 MB / 432.1 MB, free: 6.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5069, allocations: 7.906 kB / 432.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.5069, allocations: 16 kB / 432.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.5103, allocations: 1.097 MB / 433.3 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5113, allocations: 287.5 kB / 433.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/0.5341, allocations: 21 MB / 454.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5361, allocations: 229.8 kB / 454.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004477/0.5366, allocations: 92 kB / 454.9 MB, free: 14.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005526/0.5372, allocations: 182 kB / 455 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.5376, allocations: 154.1 kB / 455.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.5382, allocations: 179.6 kB / 455.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.5382, allocations: 20 kB / 455.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-05/0.5383, allocations: 19.91 kB / 455.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.5383, allocations: 11.95 kB / 455.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.5413, allocations: 1.618 MB / 457 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5413, allocations: 0 / 457 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/0.5422, allocations: 135.8 kB / 457.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/0.5453, allocations: 1.083 MB / 458.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.5455, allocations: 19.89 kB / 458.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.146/0.6915, allocations: 21 MB / 479.3 MB, free: 122 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6915, allocations: 3.688 kB / 479.3 MB, free: 122 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005815/0.6974, allocations: 3.181 MB / 482.5 MB, free: 121.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/0.6982, allocations: 424.5 kB / 482.9 MB, free: 121.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.6984, allocations: 8.406 kB / 482.9 MB, free: 121.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008881/0.6993, allocations: 95.92 kB / 483 MB, free: 121.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.6996, allocations: 129.5 kB / 483.1 MB, free: 121.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6997, allocations: 55.23 kB / 483.2 MB, free: 121.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0006478/0.7004, allocations: 0.5099 MB / 483.7 MB, free: 121.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00219/0.7026, allocations: 0.6435 MB / 484.3 MB, free: 121.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000272/0.7028, allocations: 137.2 kB / 484.4 MB, free: 121.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004611/0.7075, allocations: 3.301 MB / 487.7 MB, free: 120 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7075, allocations: 0 / 487.7 MB, free: 120 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.7108, allocations: 2.493 MB / 490.2 MB, free: 118.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.7123, allocations: 257.8 kB / 490.5 MB, free: 118.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.7193, allocations: 3.519 MB / 494 MB, free: 117.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.7204, allocations: 1.48 MB / 495.5 MB, free: 117 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7204, allocations: 0 / 495.5 MB, free: 117 MB / 346.7 MB Notification: Performance of Templates: time 0.05208/0.7725, allocations: 30.9 MB / 0.514 GB, free: 101.3 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)