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.001067/0.001067, allocations: 108.5 kB / 18.4 MB, free: 4.656 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.001026/0.001026, allocations: 190 kB / 19.34 MB, free: 3.734 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.286/1.286, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001178/0.001178, allocations: 51.92 kB / 329.3 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07215/0.07334, allocations: 46.62 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.1638/0.2372, allocations: 11.88 MB / 387.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005358/0.2426, allocations: 2.964 MB / 390.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.2441, allocations: 51.03 kB / 390.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009068/0.2451, allocations: 449.2 kB / 391.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.2469, allocations: 0.7322 MB / 391.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2485, allocations: 0.8773 MB / 392.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.2517, allocations: 3.432 MB / 396.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.2536, allocations: 1.686 MB / 397.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.2553, allocations: 1.3 MB / 399.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.2571, allocations: 1.427 MB / 400.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004897/0.2576, allocations: 378.2 kB / 401 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.2582, allocations: 376.5 kB / 401.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.2588, allocations: 0.7123 MB / 402.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.2602, allocations: 1.514 MB / 403.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003703/0.2639, allocations: 4.088 MB / 407.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2639, allocations: 3.938 kB / 407.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2639, allocations: 1.406 kB / 407.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.077e-05/0.264, allocations: 4 kB / 407.7 MB, free: 10.96 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.006382/0.2704, allocations: 3.081 MB / 410.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2704, allocations: 8.719 kB / 410.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.2709, allocations: 290 kB / 411.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.2727, allocations: 1.163 MB / 412.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.2729, allocations: 196.2 kB / 412.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.2732, allocations: 262.5 kB / 412.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/0.2777, allocations: 2.645 MB / 415.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.2777, allocations: 2.219 kB / 415.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.278, allocations: 106.9 kB / 415.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.278, allocations: 63.59 kB / 415.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.2815, allocations: 1.965 MB / 417.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.2948, allocations: 9.483 MB / 427 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/0.3005, allocations: 2.638 MB / 429.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.3021, allocations: 1.083 MB / 430.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.3022, allocations: 22 kB / 430.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.3039, allocations: 0.9682 MB / 431.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=218): time 4.388e-06/0.3039, allocations: 0 / 431.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.01388/0.3178, allocations: 5.484 MB / 437.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.3179, allocations: 85.39 kB / 437.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3195, allocations: 1.185 MB / 438.4 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.3196, allocations: 65.7 kB / 438.5 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/0.3203, allocations: 0.9783 MB / 439.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/0.3209, allocations: 0.6971 MB / 440.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006379/0.3215, allocations: 489.2 kB / 440.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.3216, allocations: 305.1 kB / 440.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.3229, allocations: 0.7198 MB / 441.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.3246, allocations: 1.417 MB / 443.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.3275, allocations: 2.126 MB / 445.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3276, allocations: 8.844 kB / 445.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.006012/0.3336, allocations: 3.23 MB / 448.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.3336, allocations: 16 kB / 448.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/0.3337, allocations: 27.92 kB / 448.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/0.3372, allocations: 1.197 MB / 449.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3382, allocations: 327.4 kB / 450 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/0.3625, allocations: 24.23 MB / 474.2 MB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.3652, allocations: 325.2 kB / 474.5 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.3654, allocations: 104 kB / 474.6 MB, free: 9.516 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.001113/0.3666, allocations: 0.5052 MB / 475.2 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.3669, allocations: 181.8 kB / 475.3 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.3674, allocations: 230.3 kB / 475.6 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.3674, allocations: 7.969 kB / 475.6 MB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3675, allocations: 0 / 475.6 MB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/0.3683, allocations: 466.2 kB / 476 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.3685, allocations: 43.92 kB / 476.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.3696, allocations: 99.91 kB / 476.2 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005856/0.3702, allocations: 277.5 kB / 476.4 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007994/0.3782, allocations: 2.92 MB / 479.4 MB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004909/0.3831, allocations: 2.928 MB / 482.3 MB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001293/0.3844, allocations: 0.7769 MB / 483.1 MB, free: 1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.3857, allocations: 0.7282 MB / 483.8 MB, free: 276 kB / 398.1 MB Notification: Performance of Backend: time 1.032e-06/0.3857, allocations: 8 kB / 483.8 MB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.392, allocations: 3.577 MB / 487.4 MB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.007388/0.3994, allocations: 5.85 MB / 493.2 MB, free: 6.598 MB / 414.1 MB Notification: Performance of Templates: time 0.04827/0.4477, allocations: 32.75 MB / 0.5136 GB, free: 5.793 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)