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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9658/0.9658, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.149e-05, allocations: 4 kB / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04496/0.045, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.2963, allocations: 36.52 MB / 209.8 MB, free: 6.961 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.2967, allocations: 65.84 kB / 209.9 MB, free: 6.961 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.149/0.4457, allocations: 31.87 MB / 241.7 MB, free: 8.797 MB / 186.7 MB Notification: Performance of FrontEnd: time 9.007e-06/0.4458, allocations: 3.984 kB / 241.7 MB, free: 8.793 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.446, allocations: 47.98 kB / 241.8 MB, free: 8.746 MB / 186.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.02046/0.4665, allocations: 2.273 MB / 244.1 MB, free: 6.402 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.4666, allocations: 8.031 kB / 244.1 MB, free: 6.395 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.4681, allocations: 257 kB / 244.3 MB, free: 6.141 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/0.4729, allocations: 0.9464 MB / 245.3 MB, free: 5.148 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.4731, allocations: 75.98 kB / 245.3 MB, free: 5.074 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008647/0.474, allocations: 135.9 kB / 245.5 MB, free: 4.941 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03003/0.5041, allocations: 1.497 MB / 247 MB, free: 3.438 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.5151, allocations: 1.945 MB / 248.9 MB, free: 1.348 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.5153, allocations: 7.938 kB / 248.9 MB, free: 1.34 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000497/0.5158, allocations: 4 kB / 248.9 MB, free: 1.336 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.516, allocations: 63.95 kB / 249 MB, free: 1.273 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/0.5458, allocations: 8.31 MB / 257.3 MB, free: 8.766 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.5502, allocations: 1.969 MB / 259.3 MB, free: 6.793 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.5523, allocations: 0.9612 MB / 260.2 MB, free: 5.832 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.5524, allocations: 22 kB / 260.3 MB, free: 5.809 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001944/0.5544, allocations: 0.8119 MB / 261.1 MB, free: 4.984 MB / 202.7 MB Notification: Performance of pre-optimization done (n=207): time 5.905e-06/0.5544, allocations: 3.938 kB / 261.1 MB, free: 4.98 MB / 202.7 MB Notification: Performance of matching and sorting (n=207): time 0.006252/0.5606, allocations: 2.223 MB / 263.3 MB, free: 2.711 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.5608, allocations: 85.39 kB / 263.4 MB, free: 2.617 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.001472/0.5623, allocations: 0.7294 MB / 264.1 MB, free: 1.871 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.5625, allocations: 29.7 kB / 264.1 MB, free: 1.836 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008316/0.5633, allocations: 0.8254 MB / 265 MB, free: 1 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008099/0.5641, allocations: 0.6312 MB / 265.6 MB, free: 368 kB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5643, allocations: 4 kB / 265.6 MB, free: 364 kB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.5646, allocations: 403.4 kB / 266 MB, free: 15.95 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.566, allocations: 0.5474 MB / 266.5 MB, free: 15.4 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.5681, allocations: 1.085 MB / 267.6 MB, free: 14.09 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.5698, allocations: 0.6851 MB / 268.3 MB, free: 13.4 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.5698, allocations: 8 kB / 268.3 MB, free: 13.39 MB / 218.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.00722/0.5771, allocations: 2.529 MB / 270.8 MB, free: 10.82 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.5772, allocations: 12 kB / 270.9 MB, free: 10.81 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/0.5772, allocations: 20 kB / 270.9 MB, free: 10.79 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004774/0.582, allocations: 1.107 MB / 272 MB, free: 9.645 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5833, allocations: 283.5 kB / 272.3 MB, free: 9.367 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03148/0.6148, allocations: 21.43 MB / 293.7 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.6169, allocations: 218.1 kB / 293.9 MB, free: 2.34 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.6171, allocations: 91.94 kB / 294 MB, free: 2.25 MB / 234.7 MB Warning: Assuming fixed start value for the following 16 variables: R11.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R10.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R7.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Rp1.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R3.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R2.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R1.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R9.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R8.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R5.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R4.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C7.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(unit = "V" ) "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: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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.0005594/0.6177, allocations: 211.8 kB / 294.2 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.6181, allocations: 154.1 kB / 294.3 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.6185, allocations: 175.6 kB / 294.5 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.6186, allocations: 16 kB / 294.5 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-05/0.6186, allocations: 20 kB / 294.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/0.6187, allocations: 11.95 kB / 294.6 MB, free: 1.664 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1319/0.7506, allocations: 1.629 MB / 296.2 MB, free: 53.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.7507, allocations: 0.75 kB / 296.2 MB, free: 53.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.7518, allocations: 125.3 kB / 296.3 MB, free: 53.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004673/0.7565, allocations: 1.085 MB / 297.4 MB, free: 53.43 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/0.7568, allocations: 17.97 kB / 297.4 MB, free: 53.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/0.7807, allocations: 21.41 MB / 318.8 MB, free: 39.06 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.411e-06/0.7808, allocations: 0 / 318.8 MB, free: 39.06 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008122/0.7889, allocations: 3.212 MB / 322 MB, free: 38.71 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.79, allocations: 425.2 kB / 322.5 MB, free: 38.54 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/0.7903, allocations: 11.56 kB / 322.5 MB, free: 38.54 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7915, allocations: 78.8 kB / 322.5 MB, free: 38.54 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/0.7921, allocations: 212 kB / 322.8 MB, free: 38.54 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.7923, allocations: 53.56 kB / 322.8 MB, free: 38.54 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0008528/0.7931, allocations: 0.5085 MB / 323.3 MB, free: 38.43 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7931, allocations: 0 / 323.3 MB, free: 38.43 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002759/0.7959, allocations: 0.6531 MB / 324 MB, free: 38.38 MB / 234.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.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete 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.0003064/0.7962, allocations: 133.9 kB / 324.1 MB, free: 38.29 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.005975/0.8022, allocations: 3.587 MB / 327.7 MB, free: 36.86 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.8023, allocations: 3.094 kB / 327.7 MB, free: 36.86 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004648/0.8069, allocations: 2.773 MB / 330.5 MB, free: 35.32 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.8095, allocations: 319.8 kB / 330.8 MB, free: 35.25 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.8161, allocations: 3.488 MB / 334.3 MB, free: 33.55 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.8174, allocations: 1.479 MB / 335.7 MB, free: 32.8 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.8177, allocations: 85.25 kB / 335.8 MB, free: 32.79 MB / 234.7 MB Notification: Performance of SimCode: time 1.763e-06/0.8178, allocations: 0 / 335.8 MB, free: 32.79 MB / 234.7 MB Notification: Performance of Templates: time 0.3078/1.126, allocations: 111.5 MB / 447.3 MB, free: 44.45 MB / 250.7 MB