Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.006/1.006, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.000262, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04611/0.04639, allocations: 25.18 MB / 183.4 MB, free: 6.004 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.01243/0.05885, allocations: 9.221 MB / 192.6 MB, free: 12.76 MB / 170.7 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.06492, allocations: 2.669 MB / 195.3 MB, free: 10.09 MB / 170.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.06665, allocations: 43.94 kB / 195.4 MB, free: 10.04 MB / 170.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.06733, allocations: 301.8 kB / 195.7 MB, free: 9.746 MB / 170.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.06976, allocations: 0.7673 MB / 196.4 MB, free: 8.977 MB / 170.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.07135, allocations: 471.5 kB / 196.9 MB, free: 8.516 MB / 170.7 MB Notification: Performance of NFFlatten.flatten: time 0.003868/0.07524, allocations: 1.928 MB / 198.8 MB, free: 6.586 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.07723, allocations: 0.9893 MB / 199.8 MB, free: 5.562 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.07883, allocations: 0.8953 MB / 200.7 MB, free: 4.664 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.08031, allocations: 1.011 MB / 201.7 MB, free: 3.648 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003604/0.08069, allocations: 148 kB / 201.9 MB, free: 3.504 MB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.08114, allocations: 148 kB / 202 MB, free: 3.359 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.0816, allocations: 418.4 kB / 202.4 MB, free: 2.949 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.08225, allocations: 476.5 kB / 202.9 MB, free: 2.477 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1235/0.2058, allocations: 2.778 MB / 205.6 MB, free: 9.93 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.579e-06/0.2059, allocations: 0 / 205.6 MB, free: 9.93 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.014e-06/0.2059, allocations: 1.281 kB / 205.6 MB, free: 9.93 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.312e-05/0.206, allocations: 2.406 kB / 205.7 MB, free: 9.93 MB / 170.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.005759/0.2117, allocations: 2.456 MB / 208.1 MB, free: 8.785 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2118, allocations: 9.734 kB / 208.1 MB, free: 8.785 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.2124, allocations: 248.6 kB / 208.4 MB, free: 8.66 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.2143, allocations: 0.9996 MB / 209.4 MB, free: 8.297 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.2144, allocations: 166.8 kB / 209.5 MB, free: 8.289 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.2149, allocations: 226.3 kB / 209.7 MB, free: 8.281 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005068/0.2199, allocations: 2.31 MB / 212.1 MB, free: 7.891 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.85e-05/0.22, allocations: 5.938 kB / 212.1 MB, free: 7.891 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.2203, allocations: 89.17 kB / 212.1 MB, free: 7.891 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.2204, allocations: 54.97 kB / 212.2 MB, free: 7.891 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.2247, allocations: 1.698 MB / 213.9 MB, free: 7.859 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.2386, allocations: 8.803 MB / 222.7 MB, free: 3.863 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.2427, allocations: 2.116 MB / 224.8 MB, free: 3.582 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.2428, allocations: 20.28 kB / 224.8 MB, free: 3.582 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001878/0.2447, allocations: 0.9294 MB / 225.8 MB, free: 3.059 MB / 170.7 MB Notification: Performance of pre-optimization done (n=207): time 6.032e-06/0.2447, allocations: 0 / 225.8 MB, free: 3.059 MB / 170.7 MB Notification: Performance of matching and sorting (n=207): time 0.01568/0.2604, allocations: 5.349 MB / 231.1 MB, free: 13.95 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.2606, allocations: 90.48 kB / 231.2 MB, free: 13.85 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:138:5-138:53:writable] Warning: Parameter V.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.2623, allocations: 0.9688 MB / 232.2 MB, free: 12.87 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.2625, allocations: 61.7 kB / 232.2 MB, free: 12.8 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/0.2633, allocations: 0.8694 MB / 233.1 MB, free: 11.93 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/0.2641, allocations: 0.6606 MB / 233.8 MB, free: 11.28 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2643, allocations: 48 kB / 233.8 MB, free: 11.23 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.2646, allocations: 407.9 kB / 234.2 MB, free: 10.82 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.2664, allocations: 0.653 MB / 234.9 MB, free: 10.17 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.2688, allocations: 1.338 MB / 236.2 MB, free: 8.539 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.2708, allocations: 0.811 MB / 237 MB, free: 7.754 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.2708, allocations: 4 kB / 237 MB, free: 7.75 MB / 186.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00806/0.2789, allocations: 3.04 MB / 240.1 MB, free: 4.848 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.2789, allocations: 18.02 kB / 240.1 MB, free: 4.832 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/0.279, allocations: 24.84 kB / 240.1 MB, free: 4.809 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/0.2839, allocations: 1.189 MB / 241.3 MB, free: 3.602 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.2853, allocations: 322 kB / 241.6 MB, free: 3.312 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03421/0.3196, allocations: 22.75 MB / 264.3 MB, free: 11.19 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.3217, allocations: 297.7 kB / 264.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.3219, allocations: 100.1 kB / 264.7 MB, free: 10.8 MB / 218.7 MB Warning: Assuming fixed start value for the following 16 variables: R11.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R10.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R7.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Rp1.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R3.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R2.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R1.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R9.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R8.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R5.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R4.Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C7.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R4.IdealCommutingSwitch1.control,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R5.IdealCommutingSwitch1.control,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R8.IdealCommutingSwitch1.control,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R9.IdealCommutingSwitch1.control,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R1.IdealCommutingSwitch1.control,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R2.IdealCommutingSwitch1.control,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,R3.IdealCommutingSwitch1.control,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,Rp1.IdealCommutingSwitch1.control,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R7.IdealCommutingSwitch1.control,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R10.IdealCommutingSwitch1.control,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart,R11.IdealCommutingSwitch1.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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.001283/0.3232, allocations: 0.5092 MB / 265.2 MB, free: 10.3 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.3236, allocations: 161.6 kB / 265.4 MB, free: 10.15 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.324, allocations: 208.2 kB / 265.6 MB, free: 9.934 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.3241, allocations: 20 kB / 265.6 MB, free: 9.914 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.736e-05/0.3241, allocations: 20 kB / 265.6 MB, free: 9.895 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/0.3242, allocations: 15.95 kB / 265.7 MB, free: 9.879 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.3275, allocations: 1.915 MB / 267.6 MB, free: 7.953 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.491e-06/0.3276, allocations: 0 / 267.6 MB, free: 7.953 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000921/0.3285, allocations: 132 kB / 267.7 MB, free: 7.828 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004727/0.3333, allocations: 1.166 MB / 268.9 MB, free: 6.645 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.3335, allocations: 40 kB / 268.9 MB, free: 6.605 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03433/0.3678, allocations: 22.71 MB / 291.6 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3679, allocations: 8.016 kB / 291.6 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009429/0.3773, allocations: 3.526 MB / 295.2 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.3785, allocations: 426.6 kB / 295.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.3788, allocations: 39.95 kB / 295.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.3798, allocations: 111.9 kB / 295.7 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006193/0.3805, allocations: 217.6 kB / 295.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.3807, allocations: 55.94 kB / 296 MB, free: 10 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.3818, allocations: 0.5984 MB / 296.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3818, allocations: 0 / 296.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003116/0.3849, allocations: 0.7835 MB / 297.4 MB, free: 8.609 MB / 250.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.pulsStart,R4.IdealCommutingSwitch1.control,R5.BooleanPulse1.pulsStart,R5.IdealCommutingSwitch1.control,R8.BooleanPulse1.pulsStart,R8.IdealCommutingSwitch1.control,R9.BooleanPulse1.pulsStart,R9.IdealCommutingSwitch1.control,R1.BooleanPulse1.pulsStart,R1.IdealCommutingSwitch1.control,R2.BooleanPulse1.pulsStart,R2.IdealCommutingSwitch1.control,R3.BooleanPulse1.pulsStart,R3.IdealCommutingSwitch1.control,Rp1.BooleanPulse1.pulsStart,Rp1.IdealCommutingSwitch1.control,R7.BooleanPulse1.pulsStart,R7.IdealCommutingSwitch1.control,R10.BooleanPulse1.pulsStart,R10.IdealCommutingSwitch1.control,R11.BooleanPulse1.pulsStart,R11.IdealCommutingSwitch1.control) * Number of discrete states: 0 () * Number of clocked 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.0003359/0.3853, allocations: 159.1 kB / 297.5 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.008344/0.3936, allocations: 4.016 MB / 301.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.541e-06/0.3937, allocations: 4.562 kB / 301.5 MB, free: 4.277 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005942/0.3996, allocations: 3.03 MB / 304.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.4018, allocations: 356.6 kB / 304.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1319/0.5337, allocations: 5.25 MB / 310.2 MB, free: 84.12 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.5352, allocations: 1.483 MB / 311.7 MB, free: 83.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.5356, allocations: 85.72 kB / 311.7 MB, free: 83.36 MB / 250.7 MB Notification: Performance of SimCode: time 1.6e-06/0.5356, allocations: 0 / 311.7 MB, free: 83.36 MB / 250.7 MB Notification: Performance of Templates: time 0.2264/0.7621, allocations: 112.2 MB / 423.9 MB, free: 68.32 MB / 250.7 MB