Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadModel(PowerSystems): time 2.187/2.187, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.957e-05, allocations: 7.938 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08817, allocations: 53.24 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.4531, allocations: 89.23 MB / 443.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002087/0.4552, allocations: 0.6758 MB / 444.4 MB, free: 12.15 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.0536/0.5088, allocations: 14.33 MB / 458.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5089, allocations: 0 / 458.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.5089, allocations: 8 kB / 458.7 MB, free: 13.69 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.001031/0.51, allocations: 0.6198 MB / 459.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.51, allocations: 8.031 kB / 459.4 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.5111, allocations: 103.5 kB / 459.5 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.5118, allocations: 349.8 kB / 459.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.5119, allocations: 12.38 kB / 459.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.512, allocations: 16 kB / 459.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.5127, allocations: 372.2 kB / 460.2 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5128, allocations: 0 / 460.2 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.5128, allocations: 8 kB / 460.2 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.5129, allocations: 16.36 kB / 460.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000941/0.5138, allocations: 432.4 kB / 460.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.5165, allocations: 1.627 MB / 462.3 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5176, allocations: 361 kB / 462.6 MB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.5179, allocations: 122.4 kB / 462.8 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5179, allocations: 4.062 kB / 462.8 MB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.5183, allocations: 201.8 kB / 463 MB, free: 9.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.423e-06/0.5184, allocations: 0 / 463 MB, free: 9.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008504/0.5192, allocations: 321.2 kB / 463.3 MB, free: 8.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/0.5193, allocations: 136.5 kB / 463.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.5198, allocations: 295.3 kB / 463.7 MB, free: 8.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.5199, allocations: 33.7 kB / 463.7 MB, free: 8.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.5201, allocations: 218.7 kB / 463.9 MB, free: 8.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5202, allocations: 82.89 kB / 464 MB, free: 8.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.5202, allocations: 8 kB / 464 MB, free: 8.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5204, allocations: 334.8 kB / 464.4 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.5207, allocations: 116.2 kB / 464.5 MB, free: 7.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.5211, allocations: 198.3 kB / 464.7 MB, free: 7.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.5215, allocations: 187.1 kB / 464.8 MB, free: 7.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.249e-06/0.5215, allocations: 4 kB / 464.8 MB, free: 7.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009227/0.5224, allocations: 441.8 kB / 465.3 MB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.5225, allocations: 33.7 kB / 465.3 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.913e-06/0.5225, allocations: 7.938 kB / 465.3 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5225, allocations: 4 kB / 465.3 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.5229, allocations: 59.91 kB / 465.4 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.5229, allocations: 7.984 kB / 465.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.5232, allocations: 36 kB / 465.4 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.5232, allocations: 16 kB / 465.4 MB, free: 6.578 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.0001432/0.5234, allocations: 131.6 kB / 465.6 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.5235, allocations: 27.7 kB / 465.6 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.5244, allocations: 407.6 kB / 466 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.785e-06/0.5244, allocations: 4 kB / 466 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5245, allocations: 8 kB / 466 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-06/0.5245, allocations: 0 / 466 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.526, allocations: 0.8534 MB / 466.9 MB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-06/0.5261, allocations: 0 / 466.9 MB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.5264, allocations: 59.92 kB / 466.9 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-06/0.5264, allocations: 0 / 466.9 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.5264, allocations: 11.98 kB / 466.9 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.524e-06/0.5265, allocations: 4 kB / 466.9 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.412e-06/0.5265, allocations: 3.938 kB / 466.9 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008729/0.5273, allocations: 0.4921 MB / 467.4 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.5276, allocations: 152.6 kB / 467.6 MB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.5277, allocations: 19.94 kB / 467.6 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5279, allocations: 12 kB / 467.6 MB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.528, allocations: 27.91 kB / 467.6 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.528, allocations: 12 kB / 467.6 MB, free: 4.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003455/0.5284, allocations: 231.1 kB / 467.9 MB, free: 4.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.5284, allocations: 0 / 467.9 MB, free: 4.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006113/0.529, allocations: 103.9 kB / 468 MB, free: 3.926 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.001557/0.5306, allocations: 465.2 kB / 468.4 MB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.5314, allocations: 379.6 kB / 468.8 MB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.388e-06/0.5314, allocations: 4.188 kB / 468.8 MB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.5318, allocations: 147.8 kB / 468.9 MB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.5322, allocations: 45.47 kB / 469 MB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5334, allocations: 0.5082 MB / 469.5 MB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.534, allocations: 0.8078 MB / 470.3 MB, free: 1.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5342, allocations: 43.36 kB / 470.4 MB, free: 1.559 MB / 394.7 MB Notification: Performance of SimCode: time 1.474e-06/0.5342, allocations: 0 / 470.4 MB, free: 1.559 MB / 394.7 MB Notification: Performance of Templates: time 0.009452/0.5436, allocations: 4.691 MB / 475 MB, free: 12.87 MB / 410.7 MB