Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.283/2.283, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005055, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3045, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4475, allocations: 76.22 MB / 384.8 MB, free: 452 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4479, allocations: 71.97 kB / 384.9 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4411/0.889, allocations: 32.26 MB / 417.1 MB, free: 77.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.8891, allocations: 0 / 417.1 MB, free: 77.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002344/0.8894, allocations: 43.77 kB / 417.2 MB, free: 77.78 MB / 346.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.01054/0.8999, allocations: 2.462 MB / 419.6 MB, free: 77.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.9, allocations: 10.94 kB / 419.6 MB, free: 77.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001157/0.9011, allocations: 305 kB / 419.9 MB, free: 76.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.902, allocations: 250.3 kB / 420.2 MB, free: 76.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.9045, allocations: 0.9496 MB / 421.1 MB, free: 76.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.9047, allocations: 172.2 kB / 421.3 MB, free: 76.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/0.9052, allocations: 224.2 kB / 421.5 MB, free: 76.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006426/0.9117, allocations: 2.301 MB / 423.8 MB, free: 76.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.688e-05/0.9118, allocations: 7.219 kB / 423.8 MB, free: 76.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.9121, allocations: 93.02 kB / 423.9 MB, free: 76.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.9121, allocations: 55.44 kB / 424 MB, free: 76.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005523/0.9177, allocations: 1.708 MB / 425.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/0.9373, allocations: 8.699 MB / 434.4 MB, free: 72.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.9429, allocations: 2.08 MB / 436.4 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.9432, allocations: 20.09 kB / 436.5 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002708/0.946, allocations: 0.9092 MB / 437.4 MB, free: 71.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=207): time 7.244e-06/0.946, allocations: 0 / 437.4 MB, free: 71.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.02254/0.9686, allocations: 5.349 MB / 442.7 MB, free: 68.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.9687, allocations: 85.94 kB / 442.8 MB, free: 68.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.9703, allocations: 0.8423 MB / 443.7 MB, free: 68.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004173/0.9708, allocations: 67.89 kB / 443.7 MB, free: 68.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006765/0.9715, allocations: 0.8081 MB / 444.5 MB, free: 67.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008725/0.9724, allocations: 0.6681 MB / 445.2 MB, free: 67.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.9726, allocations: 44.03 kB / 445.2 MB, free: 67.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9727, allocations: 389.1 kB / 445.6 MB, free: 66.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.9747, allocations: 0.6434 MB / 446.3 MB, free: 66.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.9769, allocations: 1.183 MB / 447.4 MB, free: 65.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.979, allocations: 0.7379 MB / 448.2 MB, free: 65.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.9791, allocations: 3.406 kB / 448.2 MB, free: 65.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009215/0.9883, allocations: 2.927 MB / 451.1 MB, free: 63.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.9884, allocations: 12 kB / 451.1 MB, free: 63.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.9884, allocations: 20 kB / 451.1 MB, free: 63.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00577/0.9942, allocations: 1.184 MB / 452.3 MB, free: 62.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.996, allocations: 283.9 kB / 452.6 MB, free: 62.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03075/1.027, allocations: 22.72 MB / 475.3 MB, free: 38.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.03, allocations: 268.7 kB / 475.6 MB, free: 38.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/1.03, allocations: 96 kB / 475.7 MB, free: 38.53 MB / 346.7 MB 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 () * Number of clocked 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.001282/1.031, allocations: 440.7 kB / 476.1 MB, free: 38.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/1.032, allocations: 162 kB / 476.3 MB, free: 37.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/1.032, allocations: 205 kB / 476.5 MB, free: 37.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.032, allocations: 20 kB / 476.5 MB, free: 37.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.752e-05/1.032, allocations: 22.11 kB / 476.5 MB, free: 37.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/1.032, allocations: 14.36 kB / 476.5 MB, free: 37.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/1.036, allocations: 1.9 MB / 478.4 MB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.036, allocations: 0 / 478.4 MB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.037, allocations: 136.5 kB / 478.6 MB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005611/1.043, allocations: 1.158 MB / 479.7 MB, free: 35.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003819/1.044, allocations: 46.31 kB / 479.8 MB, free: 35.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03053/1.074, allocations: 22.72 MB / 0.4907 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.074, allocations: 0 / 0.4907 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.085, allocations: 3.483 MB / 0.4941 GB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/1.086, allocations: 432 kB / 0.4945 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/1.087, allocations: 36 kB / 0.4946 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.089, allocations: 114.7 kB / 0.4947 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008594/1.09, allocations: 218.2 kB / 0.4949 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/1.09, allocations: 44 kB / 0.4949 GB, free: 7.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001267/1.091, allocations: 0.6238 MB / 0.4955 GB, free: 7.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.633e-06/1.091, allocations: 0 / 0.4955 GB, free: 7.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003754/1.095, allocations: 0.7598 MB / 0.4963 GB, free: 6.59 MB / 346.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 () * 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.01158/1.107, allocations: 4.096 MB / 0.5003 GB, free: 2.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009691/1.117, allocations: 3.92 MB / 0.5041 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.117, allocations: 4 kB / 0.5041 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007618/1.124, allocations: 3.012 MB / 0.507 GB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.127, allocations: 359.2 kB / 0.5074 GB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/1.166, allocations: 23 MB / 0.5298 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.168, allocations: 1.481 MB / 0.5313 GB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001207/1.169, allocations: 134.3 kB / 0.5314 GB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.171, allocations: 0.6711 MB / 0.5321 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of SimCode: time 5.39e-06/1.171, allocations: 0 / 0.5321 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4584/1.629, allocations: 44.77 MB / 0.5758 GB, free: 122.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/1.629, allocations: 197.6 kB / 0.576 GB, free: 121.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.057/6.687, allocations: 3.828 kB / 0.576 GB, free: 121.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat