Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001055/0.001055, allocations: 106.1 kB / 17.74 MB, free: 5.348 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.001003/0.001003, allocations: 186.4 kB / 18.67 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 47.94 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2249, allocations: 49.43 MB / 401.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.012/0.2369, allocations: 11.94 MB / 413.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006109/0.243, allocations: 2.932 MB / 416.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.2454, allocations: 51.94 kB / 416.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.2465, allocations: 443.5 kB / 416.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.2487, allocations: 0.7278 MB / 417.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2502, allocations: 0.8857 MB / 418.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003359/0.2536, allocations: 3.431 MB / 421.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.2556, allocations: 1.676 MB / 423.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.2571, allocations: 1.304 MB / 424.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2586, allocations: 1.424 MB / 426.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004267/0.259, allocations: 376 kB / 426.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.2595, allocations: 380 kB / 427 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.26, allocations: 0.7127 MB / 427.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.2614, allocations: 1.521 MB / 429.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.2649, allocations: 4.076 MB / 433.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2649, allocations: 0 / 433.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2649, allocations: 3.938 kB / 433.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.014e-05/0.2649, allocations: 0 / 433.3 MB, free: 8.832 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.005787/0.2707, allocations: 3.092 MB / 436.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2708, allocations: 8.031 kB / 436.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.2712, allocations: 285.6 kB / 436.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.2728, allocations: 1.162 MB / 437.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.273, allocations: 197.5 kB / 438.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.2733, allocations: 260.3 kB / 438.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.2775, allocations: 2.645 MB / 441 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.2776, allocations: 7.938 kB / 441 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.2778, allocations: 108 kB / 441.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.2778, allocations: 64 kB / 441.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.2812, allocations: 1.963 MB / 443.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.2944, allocations: 9.462 MB / 452.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/0.3003, allocations: 2.637 MB / 455.2 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.302, allocations: 1.079 MB / 456.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/0.3021, allocations: 22 kB / 456.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.3037, allocations: 0.9682 MB / 457.3 MB, free: 392 kB / 366.1 MB Notification: Performance of pre-optimization done (n=218): time 4.478e-06/0.3037, allocations: 0 / 457.3 MB, free: 392 kB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.01323/0.3169, allocations: 5.476 MB / 462.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.317, allocations: 89.39 kB / 462.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3188, allocations: 1.185 MB / 464 MB, free: 9.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.3189, allocations: 65.7 kB / 464.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/0.3197, allocations: 0.9744 MB / 465 MB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005892/0.3203, allocations: 0.6971 MB / 465.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000748/0.3211, allocations: 489.2 kB / 466.2 MB, free: 7.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3212, allocations: 305.1 kB / 466.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3225, allocations: 0.7237 MB / 467.2 MB, free: 6.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.3243, allocations: 1.409 MB / 468.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003085/0.3274, allocations: 2.126 MB / 470.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.3275, allocations: 4 kB / 470.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006044/0.3335, allocations: 3.234 MB / 474 MB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.3336, allocations: 19.98 kB / 474 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.3336, allocations: 24.78 kB / 474.1 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003391/0.337, allocations: 1.2 MB / 475.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.338, allocations: 327.4 kB / 475.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/0.3627, allocations: 24.22 MB / 499.8 MB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.3649, allocations: 325.3 kB / 0.4884 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.3653, allocations: 107.9 kB / 0.4885 GB, free: 2.723 MB / 414.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.001188/0.3665, allocations: 0.5067 MB / 0.489 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.367, allocations: 181.8 kB / 0.4892 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.3677, allocations: 226.3 kB / 0.4894 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.3677, allocations: 11.97 kB / 0.4894 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3677, allocations: 0 / 0.4894 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009022/0.3686, allocations: 462.2 kB / 0.4898 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.3689, allocations: 43.92 kB / 0.4899 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.3701, allocations: 99.91 kB / 0.49 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/0.3707, allocations: 281.5 kB / 0.4902 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007799/0.3785, allocations: 2.911 MB / 0.4931 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004615/0.3831, allocations: 2.932 MB / 0.4959 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001241/0.3844, allocations: 0.7769 MB / 0.4967 GB, free: 10.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.3854, allocations: 0.7282 MB / 0.4974 GB, free: 9.48 MB / 430.1 MB Notification: Performance of Backend: time 6.21e-07/0.3854, allocations: 0 / 0.4974 GB, free: 9.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006124/0.3916, allocations: 3.586 MB / 0.5009 GB, free: 5.73 MB / 430.1 MB Notification: Performance of SimCode: time 0.008087/0.3997, allocations: 5.845 MB / 0.5066 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Templates: time 0.2407/0.6404, allocations: 32.73 MB / 0.5386 GB, free: 131 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)