Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerGrids): time 2.253/2.253, allocations: 220.2 MB / 232.3 MB, free: 12.24 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.004e-05/6.027e-05, allocations: 4 kB / 287.9 MB, free: 5.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1562, allocations: 51.11 MB / 339 MB, free: 2.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5631/0.7194, allocations: 78.93 MB / 417.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.7198, allocations: 70.34 kB / 418 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.7371, allocations: 3.629 MB / 421.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7371, allocations: 0 / 421.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.7371, allocations: 8 kB / 421.7 MB, free: 11.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001219/0.7384, allocations: 485.5 kB / 422.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.7384, allocations: 8.031 kB / 422.1 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.889e-05/0.7385, allocations: 48.86 kB / 422.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.7386, allocations: 23.81 kB / 422.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.739, allocations: 227.4 kB / 422.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.739, allocations: 15.58 kB / 422.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.7391, allocations: 16.53 kB / 422.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.7396, allocations: 188.6 kB / 422.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7396, allocations: 0 / 422.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.7397, allocations: 7.25 kB / 422.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.7397, allocations: 11.23 kB / 422.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.7401, allocations: 143.3 kB / 422.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.7416, allocations: 0.6794 MB / 423.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.742, allocations: 128 kB / 423.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.7422, allocations: 83.28 kB / 423.7 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.7423, allocations: 4 kB / 423.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.7423, allocations: 30.56 kB / 423.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.855e-06/0.7423, allocations: 4 kB / 423.7 MB, free: 9.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005691/0.7429, allocations: 195.6 kB / 423.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.743, allocations: 55.34 kB / 424 MB, free: 9.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.7433, allocations: 194.3 kB / 424.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.7434, allocations: 28.7 kB / 424.2 MB, free: 9.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.7435, allocations: 120.9 kB / 424.3 MB, free: 9.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.7436, allocations: 58.31 kB / 424.4 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.7436, allocations: 0 / 424.4 MB, free: 9.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.7438, allocations: 337.7 kB / 424.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.744, allocations: 71.11 kB / 424.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.7442, allocations: 67.94 kB / 424.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.7445, allocations: 72.03 kB / 424.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7445, allocations: 0 / 424.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005524/0.745, allocations: 197.4 kB / 425.1 MB, free: 8.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.7451, allocations: 4 kB / 425.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7451, allocations: 0 / 425.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7451, allocations: 4 kB / 425.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.7453, allocations: 15.92 kB / 425.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7454, allocations: 4 kB / 425.1 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.7455, allocations: 15.84 kB / 425.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.7456, allocations: 4 kB / 425.1 MB, free: 8.391 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001162/0.7457, allocations: 112.9 kB / 425.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.7458, allocations: 19.72 kB / 425.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.7458, allocations: 21.64 kB / 425.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.7459, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.7459, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7459, allocations: 0 / 425.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.7464, allocations: 313.5 kB / 425.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.7465, allocations: 0 / 425.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.7467, allocations: 15.98 kB / 425.6 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.7467, allocations: 0 / 425.6 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.7467, allocations: 4 kB / 425.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7467, allocations: 0 / 425.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.7468, allocations: 4 kB / 425.6 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.7477, allocations: 408 kB / 426 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.7478, allocations: 101 kB / 426.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.7479, allocations: 0 / 426.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.748, allocations: 7.938 kB / 426.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.7481, allocations: 7.984 kB / 426.1 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.7481, allocations: 4 kB / 426.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.7484, allocations: 164.6 kB / 426.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7484, allocations: 0 / 426.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000382/0.7488, allocations: 24 kB / 426.3 MB, free: 7.113 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalVoltageTransducer.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001293/0.7501, allocations: 0.9581 MB / 427.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.7506, allocations: 163.9 kB / 427.4 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7506, allocations: 3.938 kB / 427.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.7509, allocations: 83.92 kB / 427.5 MB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.7513, allocations: 23.66 kB / 427.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.7524, allocations: 309.5 kB / 427.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.7528, allocations: 0.7283 MB / 428.6 MB, free: 4.758 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.7529, allocations: 13.2 kB / 428.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7531, allocations: 55.41 kB / 428.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of SimCode: time 9.71e-07/0.7531, allocations: 0 / 428.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.7882, allocations: 3.687 MB / 432.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/0.7885, allocations: 161.8 kB / 432.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.453, allocations: 0 / 432.5 MB, free: 0.8516 MB / 346.7 MB