Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 107.9 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 187.3 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 55.92 kB / 329.3 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08293, allocations: 46.62 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.1879/0.2709, allocations: 11.88 MB / 387.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006467/0.2774, allocations: 2.964 MB / 390.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.2803, allocations: 52.34 kB / 390.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.2822, allocations: 445.7 kB / 391.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.2859, allocations: 0.7122 MB / 391.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.2885, allocations: 0.878 MB / 392.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005409/0.2939, allocations: 3.436 MB / 396.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.2972, allocations: 1.681 MB / 397.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.2997, allocations: 1.296 MB / 399.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.303, allocations: 1.431 MB / 400.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.3042, allocations: 377.8 kB / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.306, allocations: 377.3 kB / 401.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.3072, allocations: 0.7113 MB / 402.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003308/0.3105, allocations: 1.518 MB / 403.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.3165, allocations: 4.069 MB / 407.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3165, allocations: 6 kB / 407.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3166, allocations: 4 kB / 407.7 MB, free: 11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.3167, allocations: 0 / 407.7 MB, free: 11 MB / 334.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.009284/0.326, allocations: 3.085 MB / 410.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.3261, allocations: 7.969 kB / 410.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009607/0.3271, allocations: 290.2 kB / 411.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.3297, allocations: 1.158 MB / 412.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.3299, allocations: 196.6 kB / 412.4 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000591/0.3305, allocations: 259 kB / 412.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006195/0.3367, allocations: 2.647 MB / 415.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.647e-05/0.3368, allocations: 2.094 kB / 415.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.337, allocations: 104 kB / 415.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.3371, allocations: 64.41 kB / 415.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.3409, allocations: 1.964 MB / 417.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.3564, allocations: 9.479 MB / 426.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005748/0.3622, allocations: 2.637 MB / 429.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.364, allocations: 1.086 MB / 430.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3641, allocations: 22 kB / 430.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.3658, allocations: 0.9737 MB / 431.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=218): time 4.799e-06/0.3658, allocations: 0 / 431.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01427/0.3801, allocations: 5.488 MB / 437.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.3802, allocations: 81.41 kB / 437.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.3819, allocations: 1.185 MB / 438.4 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.3821, allocations: 69.7 kB / 438.5 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007651/0.3829, allocations: 0.9783 MB / 439.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006667/0.3835, allocations: 0.6893 MB / 440.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/0.3843, allocations: 493.2 kB / 440.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3844, allocations: 305.1 kB / 440.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.3859, allocations: 0.7159 MB / 441.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.3878, allocations: 1.421 MB / 443 MB, free: 11.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.3909, allocations: 2.126 MB / 445.2 MB, free: 8.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.3909, allocations: 8 kB / 445.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006213/0.3971, allocations: 3.23 MB / 448.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.3972, allocations: 12 kB / 448.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.3972, allocations: 27.94 kB / 448.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00369/0.4009, allocations: 1.198 MB / 449.6 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4021, allocations: 331.9 kB / 450 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/0.4265, allocations: 24.22 MB / 474.2 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.4288, allocations: 329.2 kB / 474.5 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.429, allocations: 104 kB / 474.6 MB, free: 9.566 MB / 398.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.0009788/0.43, allocations: 0.5013 MB / 475.1 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.4303, allocations: 185.7 kB / 475.3 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.4307, allocations: 226.3 kB / 475.5 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4308, allocations: 11.95 kB / 475.5 MB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4308, allocations: 0 / 475.5 MB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007228/0.4315, allocations: 466.2 kB / 476 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.4318, allocations: 39.94 kB / 476 MB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4328, allocations: 103.9 kB / 476.1 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005921/0.4334, allocations: 273.6 kB / 476.4 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00788/0.4413, allocations: 2.919 MB / 479.3 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004658/0.446, allocations: 2.928 MB / 482.2 MB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00126/0.4473, allocations: 0.7769 MB / 483 MB, free: 1.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.4483, allocations: 0.7321 MB / 483.7 MB, free: 328 kB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.4483, allocations: 4.281 kB / 483.8 MB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005958/0.4543, allocations: 3.577 MB / 487.3 MB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 0.007888/0.4622, allocations: 5.85 MB / 493.2 MB, free: 6.652 MB / 414.1 MB Notification: Performance of Templates: time 0.05343/0.5157, allocations: 32.24 MB / 0.5131 GB, free: 6.355 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)