Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.683e-05, allocations: 4 kB / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 342.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5534, allocations: 82.78 MB / 425.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5537, allocations: 66.91 kB / 425.5 MB, free: 11.1 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Analog/Examples/Utilities/SwitchedCapacitor.mo:41:3-41:79:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1822/0.7359, allocations: 41.63 MB / 467.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.736, allocations: 0 / 467.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.7362, allocations: 52 kB / 467.2 MB, free: 6.008 MB / 378.7 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.01078/0.747, allocations: 2.543 MB / 469.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.747, allocations: 8.031 kB / 469.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.7482, allocations: 350.8 kB / 470.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/0.749, allocations: 296.5 kB / 470.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.7518, allocations: 1.024 MB / 471.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.752, allocations: 197.2 kB / 471.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006761/0.7527, allocations: 263.9 kB / 471.8 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007786/0.7605, allocations: 2.534 MB / 474.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.66e-05/0.7607, allocations: 4 kB / 474.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.7611, allocations: 108 kB / 474.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.739e-05/0.7612, allocations: 64 kB / 474.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006752/0.7679, allocations: 1.841 MB / 476.4 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.7952, allocations: 9.665 MB / 486.1 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.8064, allocations: 2.764 MB / 488.8 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.8095, allocations: 1.052 MB / 489.9 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.8097, allocations: 22 kB / 489.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002918/0.8127, allocations: 0.9216 MB / 490.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 6.402e-06/0.8127, allocations: 0 / 490.8 MB, free: 13.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.009193/0.8219, allocations: 2.48 MB / 493.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.8221, allocations: 85.39 kB / 493.4 MB, free: 11.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.8246, allocations: 1.024 MB / 494.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004991/0.8251, allocations: 73.69 kB / 494.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.8262, allocations: 0.9128 MB / 495.4 MB, free: 9.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.8278, allocations: 0.6855 MB / 496.1 MB, free: 8.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.8281, allocations: 51.94 kB / 496.1 MB, free: 8.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/0.8284, allocations: 403 kB / 496.5 MB, free: 8.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.8308, allocations: 0.6729 MB / 497.2 MB, free: 7.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.8337, allocations: 1.211 MB / 498.4 MB, free: 5.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.8363, allocations: 0.7632 MB / 499.2 MB, free: 5.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.8363, allocations: 4 kB / 499.2 MB, free: 5.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.01096/0.8473, allocations: 2.965 MB / 0.4904 GB, free: 2.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.8474, allocations: 12 kB / 0.4904 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/0.8474, allocations: 20.16 kB / 0.4904 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006461/0.8539, allocations: 1.17 MB / 0.4915 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.8561, allocations: 279.5 kB / 0.4918 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03571/0.8918, allocations: 22.27 MB / 0.5136 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/0.8953, allocations: 329.7 kB / 0.5139 GB, free: 8.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/0.8958, allocations: 92 kB / 0.514 GB, free: 8.355 MB / 442.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: 66 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse.pulseStart,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,$PRE.R5.BooleanPulse.pulseStart,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,$PRE.R8.BooleanPulse.pulseStart,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,$PRE.R9.BooleanPulse.pulseStart,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,$PRE.R1.BooleanPulse.pulseStart,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,$PRE.R2.BooleanPulse.pulseStart,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,$PRE.R3.BooleanPulse.pulseStart,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,$PRE.Rp1.BooleanPulse.pulseStart,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,$PRE.R7.BooleanPulse.pulseStart,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,$PRE.R10.BooleanPulse.pulseStart,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,$PRE.R11.BooleanPulse.pulseStart,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1,R11.lessEqualThreshold.y,R10.lessEqualThreshold.y,R7.lessEqualThreshold.y,Rp1.lessEqualThreshold.y,R3.lessEqualThreshold.y,R2.lessEqualThreshold.y,R1.lessEqualThreshold.y,R9.lessEqualThreshold.y,R8.lessEqualThreshold.y,R5.lessEqualThreshold.y,R4.lessEqualThreshold.y) * Number of discrete 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.0006632/0.8965, allocations: 280.6 kB / 0.5142 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/0.8971, allocations: 185.7 kB / 0.5144 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.8978, allocations: 222.3 kB / 0.5146 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.8978, allocations: 20 kB / 0.5146 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.438e-05/0.8979, allocations: 20 kB / 0.5147 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.8979, allocations: 7.969 kB / 0.5147 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.9029, allocations: 2.093 MB / 0.5167 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.903, allocations: 0 / 0.5167 GB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.9047, allocations: 143.8 kB / 0.5168 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006374/0.9112, allocations: 1.154 MB / 0.518 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004619/0.9117, allocations: 43.92 kB / 0.518 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3305/1.242, allocations: 22.22 MB / 0.5397 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.242, allocations: 8.578 kB / 0.5397 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.254, allocations: 3.573 MB / 0.5432 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.256, allocations: 476.1 kB / 0.5437 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/1.256, allocations: 37.02 kB / 0.5437 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.258, allocations: 131.8 kB / 0.5438 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.259, allocations: 274.9 kB / 0.5441 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.259, allocations: 52.47 kB / 0.5441 GB, free: 105.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001538/1.261, allocations: 0.7217 MB / 0.5448 GB, free: 105.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.261, allocations: 0 / 0.5448 GB, free: 105.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00395/1.265, allocations: 0.7948 MB / 0.5456 GB, free: 105.8 MB / 442.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.Capacitor.v,R5.Capacitor.v,R8.Capacitor.v,R9.Capacitor.v,R1.Capacitor.v,R2.Capacitor.v,R3.Capacitor.v,Rp1.Capacitor.v,R7.Capacitor.v,R10.Capacitor.v,R11.Capacitor.v) * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse.pulseStart,R4.IdealCommutingSwitch1.control,R4.logicalSwitch.u1,R5.BooleanPulse.pulseStart,R5.IdealCommutingSwitch1.control,R5.logicalSwitch.u1,R8.BooleanPulse.pulseStart,R8.IdealCommutingSwitch1.control,R8.logicalSwitch.u1,R9.BooleanPulse.pulseStart,R9.IdealCommutingSwitch1.control,R9.logicalSwitch.u1,R1.BooleanPulse.pulseStart,R1.IdealCommutingSwitch1.control,R1.logicalSwitch.u1,R2.BooleanPulse.pulseStart,R2.IdealCommutingSwitch1.control,R2.logicalSwitch.u1,R3.BooleanPulse.pulseStart,R3.IdealCommutingSwitch1.control,R3.logicalSwitch.u1,Rp1.BooleanPulse.pulseStart,Rp1.IdealCommutingSwitch1.control,Rp1.logicalSwitch.u1,R7.BooleanPulse.pulseStart,R7.IdealCommutingSwitch1.control,R7.logicalSwitch.u1,R10.BooleanPulse.pulseStart,R10.IdealCommutingSwitch1.control,R10.logicalSwitch.u1,R11.BooleanPulse.pulseStart,R11.IdealCommutingSwitch1.control,R11.logicalSwitch.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 76 * 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.01171/1.277, allocations: 4.213 MB / 0.5497 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008968/1.286, allocations: 3.789 MB / 0.5534 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.286, allocations: 0 / 0.5534 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006264/1.292, allocations: 2.874 MB / 0.5562 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/1.295, allocations: 324.8 kB / 0.5565 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.308, allocations: 4.247 MB / 0.5607 GB, free: 100 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.309, allocations: 1.592 MB / 0.5622 GB, free: 99.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001182/1.31, allocations: 149 kB / 0.5624 GB, free: 99.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.312, allocations: 0.7789 MB / 0.5631 GB, free: 98.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/1.312, allocations: 0 / 0.5631 GB, free: 98.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.433, allocations: 47.71 MB / 0.6097 GB, free: 73.13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.433, allocations: 171.1 kB / 0.6099 GB, free: 72.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.915/6.349, allocations: 4 kB / 0.6099 GB, free: 72.91 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat