Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.91e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5743, allocations: 82.83 MB / 425.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5746, allocations: 70.33 kB / 425.5 MB, free: 11.37 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.1914/0.7661, allocations: 41.63 MB / 467.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7661, allocations: 0 / 467.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000165/0.7663, allocations: 55.98 kB / 467.2 MB, free: 6.406 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.01081/0.7771, allocations: 2.542 MB / 469.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.7772, allocations: 8.031 kB / 469.8 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.7784, allocations: 354.8 kB / 470.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008793/0.7793, allocations: 288.5 kB / 470.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.7822, allocations: 1.028 MB / 471.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.7825, allocations: 197.2 kB / 471.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000689/0.7832, allocations: 263.9 kB / 471.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008108/0.7913, allocations: 2.534 MB / 474.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/0.7914, allocations: 0 / 474.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.7918, allocations: 112 kB / 474.5 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-05/0.7919, allocations: 67.94 kB / 474.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007353/0.7993, allocations: 1.841 MB / 476.4 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02788/0.8272, allocations: 9.673 MB / 486.1 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.8386, allocations: 2.752 MB / 488.8 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.8417, allocations: 1.048 MB / 489.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.842, allocations: 22 kB / 489.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002594/0.8446, allocations: 0.9216 MB / 490.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 5.09e-06/0.8446, allocations: 4 kB / 490.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.008619/0.8532, allocations: 2.484 MB / 493.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.8534, allocations: 85.41 kB / 493.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.8557, allocations: 1.02 MB / 494.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003861/0.8561, allocations: 65.69 kB / 494.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.8571, allocations: 0.9113 MB / 495.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.8582, allocations: 0.6894 MB / 496.1 MB, free: 8.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.8584, allocations: 59.94 kB / 496.1 MB, free: 8.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.8587, allocations: 403.8 kB / 496.5 MB, free: 8.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.8608, allocations: 0.6689 MB / 497.2 MB, free: 7.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.8634, allocations: 1.215 MB / 498.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.8657, allocations: 0.7672 MB / 499.2 MB, free: 5.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.8657, allocations: 4 kB / 499.2 MB, free: 5.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.01133/0.8771, allocations: 2.884 MB / 0.4903 GB, free: 2.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.8772, allocations: 12 kB / 0.4903 GB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.533e-05/0.8773, allocations: 19.98 kB / 0.4903 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008038/0.8853, allocations: 1.177 MB / 0.4915 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.8878, allocations: 287.5 kB / 0.4918 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04946/0.9373, allocations: 22.25 MB / 0.5135 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/0.9419, allocations: 337.6 kB / 0.5138 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/0.9423, allocations: 96 kB / 0.5139 GB, free: 8.82 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.0009084/0.9432, allocations: 272.7 kB / 0.5142 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.9439, allocations: 189.7 kB / 0.5144 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/0.9448, allocations: 218.3 kB / 0.5146 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.9449, allocations: 24 kB / 0.5146 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.513e-05/0.945, allocations: 16 kB / 0.5146 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/0.945, allocations: 15.89 kB / 0.5146 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.9508, allocations: 2.089 MB / 0.5167 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/0.9508, allocations: 0 / 0.5167 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.9524, allocations: 139.9 kB / 0.5168 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006221/0.9586, allocations: 1.154 MB / 0.5179 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004756/0.9592, allocations: 43.98 kB / 0.518 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3364/1.296, allocations: 22.22 MB / 0.5397 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.296, allocations: 2 kB / 0.5397 GB, free: 107.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.307, allocations: 3.575 MB / 0.5431 GB, free: 107 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.308, allocations: 465.5 kB / 0.5436 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/1.309, allocations: 38.67 kB / 0.5436 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.311, allocations: 135.9 kB / 0.5438 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.312, allocations: 273 kB / 0.544 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.312, allocations: 53.47 kB / 0.5441 GB, free: 106.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001634/1.314, allocations: 0.7229 MB / 0.5448 GB, free: 106.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.314, allocations: 3.812 kB / 0.5448 GB, free: 106.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004058/1.318, allocations: 0.7946 MB / 0.5456 GB, free: 106.6 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.01203/1.33, allocations: 4.212 MB / 0.5497 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009126/1.339, allocations: 3.786 MB / 0.5534 GB, free: 104.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.339, allocations: 2.906 kB / 0.5534 GB, free: 104.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006533/1.346, allocations: 2.869 MB / 0.5562 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.349, allocations: 339.6 kB / 0.5565 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.361, allocations: 4.306 MB / 0.5607 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.363, allocations: 1.589 MB / 0.5623 GB, free: 99.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.364, allocations: 0.7855 MB / 0.563 GB, free: 99.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/1.364, allocations: 0 / 0.563 GB, free: 99.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.562/5.926, allocations: 136.6 MB / 0.6964 GB, free: 127.6 MB / 458.7 MB