Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_CityTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.46/2.46, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.202e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5889, allocations: 89.23 MB / 444.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002565/0.5916, allocations: 0.6792 MB / 445.4 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.06434/0.6559, allocations: 14.35 MB / 459.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.656, allocations: 0 / 459.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.656, allocations: 4 kB / 459.8 MB, free: 13.2 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.001174/0.6572, allocations: 0.6237 MB / 460.4 MB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.6573, allocations: 8.031 kB / 460.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.793e-05/0.6574, allocations: 54.55 kB / 460.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6586, allocations: 111.4 kB / 460.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.6594, allocations: 341.8 kB / 460.9 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.6595, allocations: 12.38 kB / 460.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.261e-05/0.6595, allocations: 27.98 kB / 461 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.6604, allocations: 360.2 kB / 461.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6604, allocations: 0 / 461.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.6605, allocations: 8 kB / 461.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/0.6606, allocations: 20.36 kB / 461.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6617, allocations: 432.4 kB / 461.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.6649, allocations: 1.631 MB / 463.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.6661, allocations: 353 kB / 463.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.6665, allocations: 117.6 kB / 463.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.6665, allocations: 4 kB / 463.9 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.667, allocations: 209.8 kB / 464.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.455e-06/0.667, allocations: 0 / 464.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009803/0.668, allocations: 313.2 kB / 464.4 MB, free: 8.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.6681, allocations: 136.5 kB / 464.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.6687, allocations: 295.3 kB / 464.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.6688, allocations: 37.7 kB / 464.8 MB, free: 7.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.669, allocations: 172.3 kB / 465 MB, free: 7.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.6691, allocations: 78.91 kB / 465.1 MB, free: 7.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.6692, allocations: 8 kB / 465.1 MB, free: 7.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6693, allocations: 342.8 kB / 465.4 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.6697, allocations: 120.2 kB / 465.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.6701, allocations: 206.9 kB / 465.7 MB, free: 6.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.6706, allocations: 183.2 kB / 465.9 MB, free: 6.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.6706, allocations: 4 kB / 465.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001122/0.6717, allocations: 453.9 kB / 466.4 MB, free: 6.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.982e-05/0.6718, allocations: 37.7 kB / 466.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6718, allocations: 3.938 kB / 466.4 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.6718, allocations: 8 kB / 466.4 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.6724, allocations: 67.89 kB / 466.5 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.6724, allocations: 4 kB / 466.5 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.6727, allocations: 31.69 kB / 466.5 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.834e-05/0.6728, allocations: 19.94 kB / 466.5 MB, free: 6.047 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.000166/0.673, allocations: 131.6 kB / 466.7 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.6731, allocations: 31.7 kB / 466.7 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.6742, allocations: 403.7 kB / 467.1 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6743, allocations: 4 kB / 467.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6743, allocations: 0 / 467.1 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6743, allocations: 4 kB / 467.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.6761, allocations: 0.8572 MB / 467.9 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6761, allocations: 0 / 467.9 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.6765, allocations: 55.92 kB / 468 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6766, allocations: 4 kB / 468 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.6766, allocations: 11.98 kB / 468 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.6766, allocations: 4 kB / 468 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6766, allocations: 0 / 468 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6777, allocations: 0.4921 MB / 468.5 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.6779, allocations: 156.5 kB / 468.7 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.678, allocations: 12 kB / 468.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.6783, allocations: 8 kB / 468.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.6784, allocations: 23.92 kB / 468.7 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.6784, allocations: 16 kB / 468.7 MB, free: 3.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003874/0.6788, allocations: 239 kB / 469 MB, free: 3.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6788, allocations: 0 / 469 MB, free: 3.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006571/0.6795, allocations: 111.8 kB / 469.1 MB, free: 3.391 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.002601/0.6821, allocations: 1.525 MB / 470.6 MB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.6831, allocations: 375.2 kB / 471 MB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6831, allocations: 0 / 471 MB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.6835, allocations: 143.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.0005559/0.6841, allocations: 52.72 kB / 471.1 MB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.6859, allocations: 0.5792 MB / 471.7 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.6864, allocations: 0.8038 MB / 472.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.6868, allocations: 90.89 kB / 472.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.6871, allocations: 111.4 kB / 472.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6871, allocations: 0 / 472.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.7323, allocations: 6.881 MB / 479.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003689/0.7328, allocations: 202 kB / 479.8 MB, free: 8.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.427, allocations: 0 / 479.8 MB, free: 8.59 MB / 410.7 MB