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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009632/0.0009635, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.171/1.171, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001676/0.001676, allocations: 99.52 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.724e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07249/0.07253, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.3418, allocations: 71.03 MB / 378.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.3421, allocations: 65.97 kB / 378.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08167/0.4238, allocations: 33.02 MB / 411.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4238, allocations: 0 / 411.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.4239, allocations: 47.98 kB / 411.8 MB, free: 9.285 MB / 298.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.004525/0.4284, allocations: 2.277 MB / 414.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4285, allocations: 12.02 kB / 414.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.4289, allocations: 249 kB / 414.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.4302, allocations: 0.9454 MB / 415.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.4303, allocations: 164.9 kB / 415.4 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.4306, allocations: 220.8 kB / 415.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.4342, allocations: 2.262 MB / 417.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.4343, allocations: 4 kB / 417.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.4345, allocations: 91.98 kB / 418 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.4345, allocations: 56 kB / 418.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.4374, allocations: 1.649 MB / 419.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.449, allocations: 8.688 MB / 428.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.4522, allocations: 2.044 MB / 430.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4536, allocations: 1.005 MB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4537, allocations: 22 kB / 431.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.4552, allocations: 0.89 MB / 432.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 4.949e-06/0.4553, allocations: 4 kB / 432.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.004638/0.4599, allocations: 2.394 MB / 434.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.46, allocations: 85.34 kB / 434.8 MB, free: 2.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.4612, allocations: 0.8354 MB / 435.7 MB, free: 1.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.4614, allocations: 61.7 kB / 435.7 MB, free: 1.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006767/0.4621, allocations: 0.8075 MB / 436.5 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005439/0.4626, allocations: 0.6585 MB / 437.2 MB, free: 80 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.4627, allocations: 56 kB / 437.3 MB, free: 24 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.4629, allocations: 386.7 kB / 437.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/0.4639, allocations: 0.6178 MB / 438.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.4653, allocations: 1.156 MB / 439.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.4664, allocations: 0.728 MB / 440.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.4665, allocations: 4 kB / 440.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005207/0.4717, allocations: 2.878 MB / 443 MB, free: 9.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.4717, allocations: 12 kB / 443 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4718, allocations: 16 kB / 443 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/0.4749, allocations: 1.177 MB / 444.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.4759, allocations: 275.5 kB / 444.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/0.4976, allocations: 22.23 MB / 466.7 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.4997, allocations: 273.8 kB / 467 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.4999, allocations: 96.05 kB / 467.1 MB, free: 260 kB / 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.2063/0.7062, allocations: 259.2 kB / 467.3 MB, free: 90.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009693/0.7073, allocations: 162.1 kB / 467.5 MB, free: 90.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.708, allocations: 201.1 kB / 467.7 MB, free: 90.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.708, allocations: 21.2 kB / 467.7 MB, free: 90.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-05/0.7081, allocations: 16.84 kB / 467.7 MB, free: 90.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.7081, allocations: 11.19 kB / 467.7 MB, free: 90.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.7114, allocations: 1.895 MB / 469.6 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.7114, allocations: 0.6094 kB / 469.6 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.7122, allocations: 131.9 kB / 469.8 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.7154, allocations: 1.149 MB / 470.9 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.7155, allocations: 39.69 kB / 470.9 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.735, allocations: 22.23 MB / 493.2 MB, free: 74.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.735, allocations: 0 / 493.2 MB, free: 74.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.7407, allocations: 3.417 MB / 496.6 MB, free: 74.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.7417, allocations: 430 kB / 497 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.7418, allocations: 33.69 kB / 497.1 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008511/0.7427, allocations: 123.5 kB / 497.2 MB, free: 74.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006039/0.7433, allocations: 213.9 kB / 497.4 MB, free: 74.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.253e-05/0.7434, allocations: 52.98 kB / 497.4 MB, free: 74.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007577/0.7442, allocations: 0.6106 MB / 498 MB, free: 73.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7442, allocations: 0 / 498 MB, free: 73.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002353/0.7465, allocations: 0.7631 MB / 498.8 MB, free: 73.9 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.0002867/0.7468, allocations: 162.3 kB / 499 MB, free: 73.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.7515, allocations: 3.814 MB / 0.491 GB, free: 71.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7515, allocations: 0 / 0.491 GB, free: 71.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003189/0.7547, allocations: 2.93 MB / 0.4939 GB, free: 69.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.756, allocations: 347.9 kB / 0.4942 GB, free: 69.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.7611, allocations: 3.595 MB / 0.4977 GB, free: 67.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.762, allocations: 1.476 MB / 0.4991 GB, free: 66.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005276/0.7625, allocations: 140.7 kB / 0.4993 GB, free: 66.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.7627, allocations: 72.25 kB / 0.4993 GB, free: 66.88 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.7627, allocations: 0 / 0.4993 GB, free: 66.88 MB / 346.7 MB Notification: Performance of Templates: time 0.04752/0.8102, allocations: 31.31 MB / 0.5299 GB, free: 49.91 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)