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.001021/0.001021, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.338/1.338, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001511/0.001511, allocations: 111.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.504e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07267/0.0727, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.3324, allocations: 70.37 MB / 371.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3326, allocations: 72.77 kB / 371.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08455/0.4172, allocations: 32.62 MB / 404 MB, free: 3.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4172, allocations: 0 / 404 MB, free: 3.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001874/0.4175, allocations: 51.98 kB / 404.1 MB, free: 3 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.006362/0.4238, allocations: 2.28 MB / 406.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.4239, allocations: 12.03 kB / 406.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.4249, allocations: 253 kB / 406.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.4269, allocations: 0.9369 MB / 407.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.4271, allocations: 75.98 kB / 407.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005226/0.4276, allocations: 135.5 kB / 407.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003789/0.4314, allocations: 1.502 MB / 409.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.436, allocations: 1.945 MB / 411.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.4361, allocations: 3.938 kB / 411.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.4364, allocations: 8 kB / 411.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.4365, allocations: 56 kB / 411.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/0.4575, allocations: 8.319 MB / 419.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/0.4628, allocations: 1.965 MB / 421.6 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/0.4654, allocations: 0.9635 MB / 422.5 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.4656, allocations: 22 kB / 422.6 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00257/0.4682, allocations: 0.8235 MB / 423.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 7.835e-06/0.4682, allocations: 0 / 423.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.008229/0.4764, allocations: 2.226 MB / 425.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.4766, allocations: 85.39 kB / 425.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.4784, allocations: 0.7216 MB / 426.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.4786, allocations: 29.7 kB / 426.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.4796, allocations: 0.8113 MB / 427.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009346/0.4806, allocations: 0.6351 MB / 427.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4807, allocations: 0 / 427.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.481, allocations: 394.6 kB / 428.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.4828, allocations: 0.571 MB / 428.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.4852, allocations: 1.105 MB / 429.9 MB, free: 8.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.4871, allocations: 0.6694 MB / 430.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.4872, allocations: 4 kB / 430.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007212/0.4944, allocations: 2.602 MB / 433.2 MB, free: 5.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.4945, allocations: 12 kB / 433.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.4945, allocations: 16 kB / 433.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/0.4977, allocations: 1.101 MB / 434.4 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.4988, allocations: 279.5 kB / 434.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.5198, allocations: 21.43 MB / 456.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.5218, allocations: 217.9 kB / 456.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.522, allocations: 88 kB / 456.4 MB, free: 12.97 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.0003383/0.5224, allocations: 185.9 kB / 456.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.5226, allocations: 158.1 kB / 456.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.5231, allocations: 171.6 kB / 456.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5231, allocations: 20 kB / 456.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.145e-05/0.5232, allocations: 16 kB / 456.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.5232, allocations: 7.969 kB / 456.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.5256, allocations: 1.626 MB / 458.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5256, allocations: 0 / 458.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.5263, allocations: 131.9 kB / 458.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.5292, allocations: 1.087 MB / 459.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.5294, allocations: 15.98 kB / 459.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2115/0.7409, allocations: 21.41 MB / 481.2 MB, free: 83.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7409, allocations: 0.8438 kB / 481.2 MB, free: 83.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.7516, allocations: 3.21 MB / 484.4 MB, free: 82.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.7536, allocations: 424 kB / 484.8 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006747/0.7543, allocations: 9.375 kB / 484.8 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/0.7563, allocations: 84.92 kB / 484.9 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/0.7576, allocations: 212.4 kB / 485.1 MB, free: 82.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/0.7578, allocations: 50.3 kB / 485.1 MB, free: 82.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.7592, allocations: 0.5104 MB / 485.6 MB, free: 82.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.924e-06/0.7592, allocations: 0 / 485.6 MB, free: 82.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004623/0.7639, allocations: 0.669 MB / 486.3 MB, free: 82.48 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.0003996/0.7643, allocations: 136.4 kB / 486.5 MB, free: 82.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00744/0.7717, allocations: 3.579 MB / 490 MB, free: 80.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7718, allocations: 0 / 490 MB, free: 80.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004962/0.7768, allocations: 2.77 MB / 492.8 MB, free: 79.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.7788, allocations: 266.6 kB / 493.1 MB, free: 79.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.7868, allocations: 3.478 MB / 496.5 MB, free: 78.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.7882, allocations: 1.478 MB / 498 MB, free: 77.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.7893, allocations: 129.8 kB / 498.1 MB, free: 77.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.7896, allocations: 69.12 kB / 498.2 MB, free: 77.59 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.7896, allocations: 0 / 498.2 MB, free: 77.59 MB / 346.7 MB Notification: Performance of Templates: time 0.0498/0.8394, allocations: 28.59 MB / 0.5145 GB, free: 67.87 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)