Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.195e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.6914, allocations: 99.1 MB / 0.4975 GB, free: 4.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.6918, allocations: 79.95 kB / 0.4976 GB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1292/0.821, allocations: 32.58 MB / 0.5294 GB, free: 3.859 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8211, allocations: 0 / 0.5294 GB, free: 3.859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.951e-05/0.8211, allocations: 16 kB / 0.5294 GB, free: 3.844 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004853/0.826, allocations: 1.251 MB / 0.5307 GB, free: 2.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8261, allocations: 12.03 kB / 0.5307 GB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004493/0.8265, allocations: 177.6 kB / 0.5308 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/0.8365, allocations: 0.9469 MB / 0.5318 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.8381, allocations: 0.5348 MB / 0.5323 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.8382, allocations: 86.41 kB / 0.5324 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.8385, allocations: 120 kB / 0.5325 GB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.842, allocations: 1.078 MB / 0.5335 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.617e-05/0.8421, allocations: 7.891 kB / 0.5335 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.8423, allocations: 48 kB / 0.5336 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.8424, allocations: 32 kB / 0.5336 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.8463, allocations: 1.305 MB / 0.5349 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.86, allocations: 4.707 MB / 0.5395 GB, free: 9.125 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.863, allocations: 0.8768 MB / 0.5403 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009377/0.864, allocations: 344.7 kB / 0.5407 GB, free: 7.891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.8642, allocations: 97.86 kB / 0.5408 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.8643, allocations: 51.28 kB / 0.5408 GB, free: 7.715 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 4.328e-06/0.8643, allocations: 0 / 0.5408 GB, free: 7.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.00224/0.8665, allocations: 0.7 MB / 0.5415 GB, free: 7.004 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.8666, allocations: 60.19 kB / 0.5416 GB, free: 6.934 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.8681, allocations: 0.6989 MB / 0.5422 GB, free: 6.227 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.8684, allocations: 41.7 kB / 0.5423 GB, free: 6.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.8688, allocations: 455 kB / 0.5427 GB, free: 5.727 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.8692, allocations: 307.6 kB / 0.543 GB, free: 5.422 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/0.8693, allocations: 20 kB / 0.543 GB, free: 5.402 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.8696, allocations: 390.7 kB / 0.5434 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/0.8705, allocations: 310.6 kB / 0.5437 GB, free: 4.711 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.8717, allocations: 0.5246 MB / 0.5442 GB, free: 4.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.8729, allocations: 392.9 kB / 0.5446 GB, free: 3.707 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.8729, allocations: 4 kB / 0.5446 GB, free: 3.703 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00314/0.876, allocations: 1.057 MB / 0.5456 GB, free: 2.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.8761, allocations: 8 kB / 0.5456 GB, free: 2.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.8761, allocations: 8 kB / 0.5456 GB, free: 2.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.8766, allocations: 61.67 kB / 0.5457 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.8787, allocations: 251.9 kB / 0.5459 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.8815, allocations: 2.615 MB / 0.5485 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.8833, allocations: 150.5 kB / 0.5486 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.8834, allocations: 47.92 kB / 0.5487 GB, free: 15.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * 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.0003188/0.8838, allocations: 164.7 kB / 0.5488 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.884, allocations: 86.97 kB / 0.5489 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.8869, allocations: 1.05 MB / 0.5499 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.887, allocations: 8 kB / 0.5499 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.887, allocations: 4 kB / 0.5499 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.887, allocations: 3.984 kB / 0.5499 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/0.893, allocations: 2.621 MB / 0.5525 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.893, allocations: 4 kB / 0.5525 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.8945, allocations: 179.7 kB / 0.5527 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/0.8949, allocations: 66.22 kB / 0.5527 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.895, allocations: 27.98 kB / 0.5528 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.8976, allocations: 2.612 MB / 0.5553 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.924e-05/0.8977, allocations: 15.95 kB / 0.5553 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.9013, allocations: 1.676 MB / 0.557 GB, free: 5.922 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.9018, allocations: 219.6 kB / 0.5572 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.902, allocations: 20 kB / 0.5572 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9032, allocations: 63.97 kB / 0.5573 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.9034, allocations: 84.36 kB / 0.5573 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.9035, allocations: 31.98 kB / 0.5574 GB, free: 5.492 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001121/0.9047, allocations: 0.5383 MB / 0.5579 GB, free: 4.961 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9047, allocations: 0 / 0.5579 GB, free: 4.961 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001413/0.9061, allocations: 299.5 kB / 0.5582 GB, free: 4.668 MB / 474.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 (92): * Single equations (assignments): 90 * 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.004748/0.9109, allocations: 4.025 MB / 0.5621 GB, free: 448 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.9136, allocations: 0.9726 MB / 0.5631 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.9136, allocations: 4 kB / 0.5631 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.915, allocations: 0.5787 MB / 0.5636 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.916, allocations: 102.9 kB / 0.5637 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.9208, allocations: 1.479 MB / 0.5652 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.9215, allocations: 1.012 MB / 0.5662 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.9227, allocations: 151.4 kB / 0.5663 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009072/0.9237, allocations: 355.3 kB / 0.5667 GB, free: 11.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9237, allocations: 4 kB / 0.5667 GB, free: 11.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/0.9868, allocations: 17.39 MB / 0.5836 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.9871, allocations: 201 kB / 0.5838 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.944, allocations: 0 / 0.5838 GB, free: 10.12 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat