Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001261/0.001261, allocations: 189.1 kB / 8.135 MB, free: 2.215 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.107/1.107, allocations: 194.2 MB / 202.8 MB, free: 8.82 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.001797/0.001797, allocations: 116.8 kB / 247.7 MB, free: 6.277 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.06e-05/1.07e-05, allocations: 0 / 297.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 44.49 MB / 342.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.3287, allocations: 75.4 MB / 417.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.329, allocations: 67.52 kB / 417.5 MB, free: 19.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07537/0.4044, allocations: 32.03 MB / 449.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.73e-05/0.4045, allocations: 48 kB / 449.6 MB, free: 9.43 MB / 330.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.004722/0.4093, allocations: 2.365 MB / 452 MB, free: 7.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4093, allocations: 12.03 kB / 452 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.4097, allocations: 257 kB / 452.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.4111, allocations: 0.9522 MB / 453.2 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.4112, allocations: 71.98 kB / 453.2 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.4115, allocations: 145.7 kB / 453.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002814/0.4143, allocations: 1.496 MB / 454.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.4177, allocations: 1.942 MB / 456.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.4178, allocations: 7.938 kB / 456.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.418, allocations: 4 kB / 456.8 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/0.418, allocations: 52 kB / 456.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.4299, allocations: 8.311 MB / 465.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.4321, allocations: 1.581 MB / 466.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.4334, allocations: 0.9265 MB / 467.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.4336, allocations: 22 kB / 467.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.4349, allocations: 0.7807 MB / 468.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=207): time 4.569e-06/0.4349, allocations: 0 / 468.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.005419/0.4403, allocations: 2.172 MB / 470.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.4404, allocations: 81.33 kB / 470.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.4415, allocations: 0.7255 MB / 471.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4416, allocations: 29.7 kB / 471.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.4422, allocations: 0.6902 MB / 472.2 MB, free: 4.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/0.4428, allocations: 0.6389 MB / 472.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.4429, allocations: 4 kB / 472.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4431, allocations: 386.6 kB / 473.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4441, allocations: 0.571 MB / 473.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.4456, allocations: 1.104 MB / 474.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4467, allocations: 0.6694 MB / 475.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.4467, allocations: 8 kB / 475.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.00517/0.4519, allocations: 2.559 MB / 478.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4519, allocations: 11.94 kB / 478.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.452, allocations: 20 kB / 478.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.4553, allocations: 1.096 MB / 479.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009809/0.4563, allocations: 283.5 kB / 479.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.4787, allocations: 21.02 MB / 0.4888 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4806, allocations: 225.9 kB / 0.489 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.4809, allocations: 92 kB / 0.4891 GB, free: 5.922 MB / 378.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.0003653/0.4812, allocations: 183 kB / 0.4893 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.4815, allocations: 162 kB / 0.4895 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.4819, allocations: 171.6 kB / 0.4896 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.4819, allocations: 20 kB / 0.4896 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.036e-05/0.482, allocations: 16 kB / 0.4897 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.482, allocations: 16.03 kB / 0.4897 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.4843, allocations: 1.618 MB / 0.4913 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4844, allocations: 0 / 0.4913 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.4852, allocations: 131.9 kB / 0.4914 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/0.4886, allocations: 1.088 MB / 0.4924 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.4888, allocations: 12 kB / 0.4925 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1606/0.6493, allocations: 21 MB / 0.513 GB, free: 78.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6494, allocations: 4.688 kB / 0.513 GB, free: 78.47 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005562/0.6549, allocations: 3.174 MB / 0.5161 GB, free: 78.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.6557, allocations: 424.2 kB / 0.5165 GB, free: 78.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.6559, allocations: 9.656 kB / 0.5165 GB, free: 78.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/0.6569, allocations: 93.45 kB / 0.5166 GB, free: 78.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.6572, allocations: 128.5 kB / 0.5167 GB, free: 78.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.6573, allocations: 51.3 kB / 0.5167 GB, free: 78.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006119/0.6579, allocations: 0.5104 MB / 0.5172 GB, free: 78.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001883/0.6598, allocations: 0.6419 MB / 0.5179 GB, free: 78.06 MB / 394.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.0002361/0.66, allocations: 137 kB / 0.518 GB, free: 77.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004532/0.6646, allocations: 3.302 MB / 0.5212 GB, free: 76.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6646, allocations: 0 / 0.5212 GB, free: 76.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003387/0.668, allocations: 2.504 MB / 0.5237 GB, free: 75.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.6695, allocations: 260.5 kB / 0.5239 GB, free: 75.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006769/0.6763, allocations: 3.516 MB / 0.5274 GB, free: 74.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.6775, allocations: 1.475 MB / 0.5288 GB, free: 73.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6775, allocations: 0 / 0.5288 GB, free: 73.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04772/0.7252, allocations: 30.91 MB / 0.559 GB, free: 71.57 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)