Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 235.2 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.519e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3645, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.5529, allocations: 90.1 MB / 444.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.5533, allocations: 75.95 kB / 444.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4809/1.034, allocations: 32.1 MB / 476.7 MB, free: 89.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.647e-06/1.034, allocations: 0 / 476.7 MB, free: 89.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.547e-05/1.034, allocations: 19.56 kB / 476.7 MB, free: 89.3 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00743/1.042, allocations: 1.238 MB / 478 MB, free: 88.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/1.042, allocations: 11.81 kB / 478 MB, free: 88.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/1.064, allocations: 1.014 MB / 479 MB, free: 88.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/1.066, allocations: 0.5185 MB / 479.5 MB, free: 88.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.066, allocations: 37.16 kB / 479.6 MB, free: 88.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004558/1.066, allocations: 71.97 kB / 479.6 MB, free: 88.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005907/1.072, allocations: 1.306 MB / 480.9 MB, free: 88.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/1.077, allocations: 0.8745 MB / 481.8 MB, free: 88.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.12e-05/1.077, allocations: 6.906 kB / 481.8 MB, free: 88.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/1.077, allocations: 3.953 kB / 481.8 MB, free: 88.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/1.077, allocations: 29.28 kB / 481.8 MB, free: 88.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/1.097, allocations: 4.585 MB / 486.4 MB, free: 85.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/1.1, allocations: 1.111 MB / 487.5 MB, free: 84.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/1.101, allocations: 323.1 kB / 487.9 MB, free: 84.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.102, allocations: 100.1 kB / 488 MB, free: 84.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.102, allocations: 51.22 kB / 488 MB, free: 84.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.849e-06/1.102, allocations: 0 / 488 MB, free: 84.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003464/1.105, allocations: 0.8093 MB / 488.8 MB, free: 84.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/1.105, allocations: 59.72 kB / 488.9 MB, free: 84.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/1.106, allocations: 418.2 kB / 489.3 MB, free: 83.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/1.106, allocations: 25.7 kB / 489.3 MB, free: 83.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/1.106, allocations: 0.4897 MB / 489.8 MB, free: 83.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/1.107, allocations: 295.1 kB / 490.1 MB, free: 83.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/1.107, allocations: 0 / 490.1 MB, free: 83.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/1.107, allocations: 369.3 kB / 490.4 MB, free: 82.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/1.108, allocations: 289 kB / 490.7 MB, free: 82.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/1.109, allocations: 0.554 MB / 491.3 MB, free: 82.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/1.112, allocations: 0.6356 MB / 491.9 MB, free: 82.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.112, allocations: 0 / 491.9 MB, free: 82.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004941/1.117, allocations: 1.264 MB / 493.2 MB, free: 80.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/1.117, allocations: 8 kB / 493.2 MB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.117, allocations: 8 kB / 493.2 MB, free: 80.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/1.117, allocations: 69.84 kB / 493.3 MB, free: 80.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/1.12, allocations: 259.9 kB / 493.5 MB, free: 80.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.122, allocations: 2.531 MB / 496 MB, free: 77.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.124, allocations: 94.52 kB / 496.1 MB, free: 77.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/1.124, allocations: 44 kB / 496.2 MB, free: 77.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002617/1.124, allocations: 136.6 kB / 496.3 MB, free: 77.63 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003164/1.127, allocations: 0.8045 MB / 497.1 MB, free: 76.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/1.127, allocations: 67.28 kB / 497.2 MB, free: 76.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/1.131, allocations: 1.1 MB / 498.3 MB, free: 75.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.131, allocations: 8 kB / 498.3 MB, free: 75.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.131, allocations: 4 kB / 498.3 MB, free: 75.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.131, allocations: 6.797 kB / 498.3 MB, free: 75.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/1.137, allocations: 2.566 MB / 0.4891 GB, free: 73.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/1.137, allocations: 8 kB / 0.4891 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.139, allocations: 192.9 kB / 0.4893 GB, free: 73.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003637/1.139, allocations: 57.36 kB / 0.4894 GB, free: 73.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/1.14, allocations: 11.8 kB / 0.4894 GB, free: 73.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/1.142, allocations: 2.524 MB / 0.4919 GB, free: 70.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.142, allocations: 11.95 kB / 0.4919 GB, free: 70.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/1.146, allocations: 1.728 MB / 0.4936 GB, free: 68.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/1.146, allocations: 179.7 kB / 0.4937 GB, free: 68.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.146, allocations: 8 kB / 0.4937 GB, free: 68.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.147, allocations: 43.42 kB / 0.4938 GB, free: 68.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.148, allocations: 78.19 kB / 0.4938 GB, free: 68.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/1.148, allocations: 35 kB / 0.4939 GB, free: 68.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005203/1.148, allocations: 317.5 kB / 0.4942 GB, free: 68.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.148, allocations: 4 kB / 0.4942 GB, free: 68.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001474/1.15, allocations: 286.9 kB / 0.4945 GB, free: 67.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004657/1.155, allocations: 4.05 MB / 0.4984 GB, free: 63.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/1.157, allocations: 0.9622 MB / 0.4994 GB, free: 62.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.157, allocations: 0 / 0.4994 GB, free: 62.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001355/1.158, allocations: 0.5659 MB / 0.4999 GB, free: 62.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/1.159, allocations: 63.39 kB / 0.5 GB, free: 62.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/1.167, allocations: 1.812 MB / 0.5017 GB, free: 60.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/1.168, allocations: 1.011 MB / 0.5027 GB, free: 59.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001264/1.169, allocations: 129 kB / 0.5028 GB, free: 59.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/1.17, allocations: 343.3 kB / 0.5032 GB, free: 58.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/1.17, allocations: 0 / 0.5032 GB, free: 58.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/1.255, allocations: 13.37 MB / 0.5162 GB, free: 45.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003001/1.255, allocations: 172.3 kB / 0.5164 GB, free: 45.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.115/4.37, allocations: 0 / 0.5164 GB, free: 45.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat