Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3131, allocations: 50.55 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.01384/0.327, allocations: 11.95 MB / 421.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008021/0.3351, allocations: 2.961 MB / 424.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.3369, allocations: 47.94 kB / 424.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.3382, allocations: 447.5 kB / 425.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.3406, allocations: 0.7157 MB / 426.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.3424, allocations: 0.87 MB / 427 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004228/0.3466, allocations: 3.419 MB / 430.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.349, allocations: 1.64 MB / 432 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.3511, allocations: 1.293 MB / 433.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.3527, allocations: 1.432 MB / 434.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004832/0.3532, allocations: 376 kB / 435.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.3537, allocations: 380 kB / 435.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.3543, allocations: 0.7128 MB / 436.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.3557, allocations: 1.521 MB / 437.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.3598, allocations: 4.088 MB / 441.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.3598, allocations: 7.938 kB / 441.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3598, allocations: 4 kB / 441.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.128e-05/0.3599, allocations: 0 / 441.8 MB, free: 1.586 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.006787/0.3667, allocations: 3.077 MB / 444.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.3668, allocations: 8.031 kB / 444.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.3672, allocations: 285.6 kB / 445.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.3695, allocations: 1.166 MB / 446.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.3697, allocations: 197.5 kB / 446.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.3701, allocations: 256.4 kB / 446.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004412/0.3745, allocations: 2.645 MB / 449.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/0.3745, allocations: 0 / 449.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.3748, allocations: 108 kB / 449.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/0.3748, allocations: 68 kB / 449.6 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.3784, allocations: 1.967 MB / 451.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.3926, allocations: 9.462 MB / 461 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.3984, allocations: 2.644 MB / 463.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.4, allocations: 1.086 MB / 464.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/0.4001, allocations: 22 kB / 464.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/0.4018, allocations: 0.9682 MB / 465.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=218): time 5.3e-06/0.4018, allocations: 0 / 465.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01342/0.4152, allocations: 5.476 MB / 471.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.4153, allocations: 85.39 kB / 471.3 MB, free: 3.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.4171, allocations: 1.185 MB / 472.5 MB, free: 2.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.4173, allocations: 69.7 kB / 472.6 MB, free: 2.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009252/0.4182, allocations: 0.9821 MB / 473.6 MB, free: 1.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006598/0.4189, allocations: 0.6855 MB / 474.2 MB, free: 332 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006996/0.4196, allocations: 493.2 kB / 474.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4197, allocations: 305.1 kB / 475 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.421, allocations: 0.7159 MB / 475.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.4227, allocations: 1.421 MB / 477.2 MB, free: 13.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.4256, allocations: 2.126 MB / 479.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/0.4256, allocations: 8 kB / 479.3 MB, free: 10.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005969/0.4316, allocations: 3.226 MB / 482.5 MB, free: 7.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.4316, allocations: 16 kB / 482.5 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.4317, allocations: 23.94 kB / 482.6 MB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/0.4351, allocations: 1.193 MB / 483.8 MB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.4361, allocations: 331.3 kB / 484.1 MB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02516/0.4613, allocations: 24.21 MB / 0.4964 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.4635, allocations: 333.2 kB / 0.4967 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/0.4639, allocations: 104 kB / 0.4968 GB, free: 11.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.lessEqualThreshold.y,R5.lessEqualThreshold.y,R8.lessEqualThreshold.y,R9.lessEqualThreshold.y,R1.lessEqualThreshold.y,R2.lessEqualThreshold.y,R3.lessEqualThreshold.y,Rp1.lessEqualThreshold.y,R7.lessEqualThreshold.y,R10.lessEqualThreshold.y,R11.lessEqualThreshold.y,R11.logicalSwitch.y,R11.not1.y,R11.BooleanPulse.pulseStart,$PRE.R11.BooleanPulse.pulseStart,R10.logicalSwitch.y,R10.not1.y,R10.BooleanPulse.pulseStart,$PRE.R10.BooleanPulse.pulseStart,R7.logicalSwitch.y,R7.not1.y,R7.BooleanPulse.pulseStart,$PRE.R7.BooleanPulse.pulseStart,Rp1.logicalSwitch.y,Rp1.not1.y,Rp1.BooleanPulse.pulseStart,$PRE.Rp1.BooleanPulse.pulseStart,R3.logicalSwitch.y,R3.not1.y,R3.BooleanPulse.pulseStart,$PRE.R3.BooleanPulse.pulseStart,R2.logicalSwitch.y,R2.not1.y,R2.BooleanPulse.pulseStart,$PRE.R2.BooleanPulse.pulseStart,R1.logicalSwitch.y,R1.not1.y,R1.BooleanPulse.pulseStart,$PRE.R1.BooleanPulse.pulseStart,R9.logicalSwitch.y,R9.not1.y,R9.BooleanPulse.pulseStart,$PRE.R9.BooleanPulse.pulseStart,R8.logicalSwitch.y,R8.not1.y,R8.BooleanPulse.pulseStart,$PRE.R8.BooleanPulse.pulseStart,R5.logicalSwitch.y,R5.not1.y,R5.BooleanPulse.pulseStart,$PRE.R5.BooleanPulse.pulseStart,R4.logicalSwitch.y,R4.not1.y,R4.BooleanPulse.pulseStart,$PRE.R4.BooleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(4,7,62.5%), (4,7,62.5%), (4,7,62.5%), (4,7,62.5%), (1,9,100.0%), (4,7,62.5%), (4,7,62.5%), (4,7,62.5%), (4,7,62.5%), (4,7,62.5%), (4,7,62.5%), (4,7,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.465, allocations: 0.5011 MB / 0.4973 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/0.4655, allocations: 185.7 kB / 0.4975 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.466, allocations: 226.3 kB / 0.4977 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.4661, allocations: 11.95 kB / 0.4977 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4661, allocations: 0 / 0.4977 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/0.467, allocations: 462.2 kB / 0.4981 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.4673, allocations: 43.94 kB / 0.4982 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.4686, allocations: 99.89 kB / 0.4983 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/0.4693, allocations: 273.6 kB / 0.4985 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007825/0.4771, allocations: 2.927 MB / 0.5014 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004672/0.4818, allocations: 2.928 MB / 0.5042 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001187/0.483, allocations: 0.773 MB / 0.505 GB, free: 2.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.4841, allocations: 0.7361 MB / 0.5057 GB, free: 2.219 MB / 430.1 MB Notification: Performance of Backend: time 4.91e-07/0.4841, allocations: 0 / 0.5057 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006023/0.4901, allocations: 3.571 MB / 0.5092 GB, free: 14.49 MB / 446.1 MB Notification: Performance of SimCode: time 0.008727/0.4989, allocations: 5.859 MB / 0.5149 GB, free: 8.586 MB / 446.1 MB Notification: Performance of Templates: time 0.2694/0.7683, allocations: 32.75 MB / 0.5469 GB, free: 122.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)