Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.193/2.193, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.451e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5512, allocations: 78.85 MB / 395.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5516, allocations: 76.02 kB / 395.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.5967, allocations: 8.006 MB / 404 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5968, allocations: 0 / 404 MB, free: 1.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.551e-05/0.5968, allocations: 15.98 kB / 404 MB, free: 1.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002825/0.5997, allocations: 0.7183 MB / 404.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.5998, allocations: 16.03 kB / 404.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003926/0.6002, allocations: 98.53 kB / 404.8 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.6005, allocations: 67.16 kB / 404.9 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.6017, allocations: 369 kB / 405.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.6018, allocations: 40.69 kB / 405.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.602, allocations: 51.38 kB / 405.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.6039, allocations: 471.3 kB / 405.8 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.604, allocations: 0 / 405.8 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6041, allocations: 27.44 kB / 405.8 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.6042, allocations: 12 kB / 405.8 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.6056, allocations: 302.2 kB / 406.1 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007334/0.613, allocations: 1.745 MB / 407.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.6141, allocations: 252.5 kB / 408.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.6146, allocations: 127.4 kB / 408.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.6147, allocations: 8 kB / 408.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.6148, allocations: 42.08 kB / 408.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 5.3e-06/0.6148, allocations: 0 / 408.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.003421/0.6182, allocations: 0.7649 MB / 409 MB, free: 13.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.6184, allocations: 81.11 kB / 409.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6194, allocations: 334 kB / 409.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.6196, allocations: 28.83 kB / 409.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.62, allocations: 296 kB / 409.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.6202, allocations: 117.4 kB / 409.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.6203, allocations: 3.875 kB / 409.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.6205, allocations: 356.6 kB / 410.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.621, allocations: 90.25 kB / 410.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.6216, allocations: 173.7 kB / 410.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.6221, allocations: 111.1 kB / 410.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6221, allocations: 0 / 410.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001962/0.6241, allocations: 421.5 kB / 411 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.6242, allocations: 4 kB / 411 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.6243, allocations: 4 kB / 411 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008155/0.6251, allocations: 90.97 kB / 411.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.6261, allocations: 79.89 kB / 411.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.6314, allocations: 2.846 MB / 414 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.6324, allocations: 19.44 kB / 414 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.081e-05/0.6325, allocations: 19.48 kB / 414.1 MB, free: 8.641 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.6328, allocations: 131.4 kB / 414.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.6331, allocations: 39.53 kB / 414.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.6333, allocations: 41.5 kB / 414.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.6333, allocations: 7.953 kB / 414.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.6333, allocations: 8.125 kB / 414.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6334, allocations: 4 kB / 414.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.6368, allocations: 0.9254 MB / 415.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.6369, allocations: 4 kB / 415.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.6375, allocations: 58.97 kB / 415.3 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.6383, allocations: 75.34 kB / 415.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.6384, allocations: 10.05 kB / 415.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.6435, allocations: 2.845 MB / 418.2 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.6436, allocations: 4.031 kB / 418.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6457, allocations: 0.5862 MB / 418.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.6461, allocations: 120 kB / 418.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.6463, allocations: 14.7 kB / 418.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/0.6472, allocations: 35.41 kB / 419 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6474, allocations: 27.47 kB / 419 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.6475, allocations: 11.31 kB / 419 MB, free: 3.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000736/0.6483, allocations: 265.3 kB / 419.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.6483, allocations: 0 / 419.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001556/0.6499, allocations: 120.1 kB / 419.4 MB, free: 3.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002875/0.6528, allocations: 1.218 MB / 420.6 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.6541, allocations: 480.2 kB / 421.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6542, allocations: 4.062 kB / 421.1 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009281/0.6551, allocations: 352.3 kB / 421.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.6559, allocations: 61.34 kB / 421.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.6588, allocations: 0.8241 MB / 422.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.6595, allocations: 0.8626 MB / 423.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003782/0.6599, allocations: 43.3 kB / 423.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.6602, allocations: 169.9 kB / 423.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6602, allocations: 3.938 kB / 423.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.7008, allocations: 7.968 MB / 431.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/0.7011, allocations: 176.4 kB / 431.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.464, allocations: 0 / 431.5 MB, free: 7.707 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat