Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.394/2.394, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.308e-05, allocations: 4 kB / 302.3 MB, free: 7.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 53.25 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5503, allocations: 89.23 MB / 444.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002449/0.5528, allocations: 0.6885 MB / 445.5 MB, free: 11.68 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$city$data.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.05795/0.6108, allocations: 14.33 MB / 459.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6109, allocations: 0 / 459.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.6109, allocations: 4 kB / 459.8 MB, free: 13.22 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001172/0.6121, allocations: 0.6276 MB / 460.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6122, allocations: 8.031 kB / 460.4 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.6123, allocations: 54.55 kB / 460.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6135, allocations: 111.4 kB / 460.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.6143, allocations: 341.8 kB / 460.9 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.6144, allocations: 20.36 kB / 460.9 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.6144, allocations: 23.98 kB / 461 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.6153, allocations: 360.2 kB / 461.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6154, allocations: 0 / 461.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.6154, allocations: 11.98 kB / 461.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.6155, allocations: 12.38 kB / 461.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.6166, allocations: 436.4 kB / 461.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.6197, allocations: 1.623 MB / 463.4 MB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.6209, allocations: 357 kB / 463.7 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.6212, allocations: 114.4 kB / 463.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.6213, allocations: 4 kB / 463.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.6218, allocations: 209.9 kB / 464.1 MB, free: 8.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.377e-06/0.6218, allocations: 0 / 464.1 MB, free: 8.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009693/0.6228, allocations: 317.2 kB / 464.4 MB, free: 8.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.6229, allocations: 136.4 kB / 464.5 MB, free: 8.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.6234, allocations: 291.3 kB / 464.8 MB, free: 7.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.6235, allocations: 33.7 kB / 464.8 MB, free: 7.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.6237, allocations: 176.2 kB / 465 MB, free: 7.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6238, allocations: 82.91 kB / 465.1 MB, free: 7.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.6239, allocations: 8.062 kB / 465.1 MB, free: 7.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.624, allocations: 342.8 kB / 465.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.6244, allocations: 120.2 kB / 465.5 MB, free: 7.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.6248, allocations: 198.3 kB / 465.7 MB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.6252, allocations: 187.1 kB / 465.9 MB, free: 6.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6253, allocations: 4 kB / 465.9 MB, free: 6.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001096/0.6264, allocations: 453.6 kB / 466.4 MB, free: 6.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.6264, allocations: 33.7 kB / 466.4 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6265, allocations: 7.938 kB / 466.4 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.6265, allocations: 4 kB / 466.4 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.627, allocations: 68.2 kB / 466.5 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.627, allocations: 8 kB / 466.5 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.6273, allocations: 31.69 kB / 466.5 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.6274, allocations: 16 kB / 466.5 MB, free: 6.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.city.data.nextTimeEvent,city.data.nextTimeEvent,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEventScaled,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.6276, allocations: 136.8 kB / 466.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.6276, allocations: 23.72 kB / 466.7 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6288, allocations: 411.6 kB / 467.1 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6288, allocations: 8 kB / 467.1 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6288, allocations: 4 kB / 467.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6288, allocations: 3.984 kB / 467.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.6306, allocations: 0.8456 MB / 467.9 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6306, allocations: 0 / 467.9 MB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.6311, allocations: 63.91 kB / 468 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.6311, allocations: 0 / 468 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.6312, allocations: 8 kB / 468 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.6312, allocations: 8 kB / 468 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6312, allocations: 0 / 468 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.6323, allocations: 0.4921 MB / 468.5 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.6326, allocations: 152.6 kB / 468.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.6327, allocations: 16 kB / 468.7 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.633, allocations: 4 kB / 468.7 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.633, allocations: 27.92 kB / 468.7 MB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.6331, allocations: 15.98 kB / 468.7 MB, free: 3.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.6335, allocations: 231.1 kB / 468.9 MB, free: 3.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6335, allocations: 0 / 468.9 MB, free: 3.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006734/0.6342, allocations: 115.8 kB / 469.1 MB, free: 3.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00257/0.6368, allocations: 1.531 MB / 470.6 MB, free: 1.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.6377, allocations: 371.4 kB / 471 MB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6377, allocations: 0.625 kB / 471 MB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.6381, allocations: 155.8 kB / 471.1 MB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.6386, allocations: 40.7 kB / 471.1 MB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.6403, allocations: 0.5785 MB / 471.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.6408, allocations: 0.8078 MB / 472.5 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.6412, allocations: 86.89 kB / 472.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.6415, allocations: 103.4 kB / 472.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6415, allocations: 4 kB / 472.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.6786, allocations: 6.862 MB / 479.6 MB, free: 8.852 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.6789, allocations: 190.5 kB / 479.8 MB, free: 8.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.193, allocations: 4 kB / 479.8 MB, free: 8.621 MB / 410.7 MB