Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.646e-05, allocations: 7.938 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5478/0.6826, allocations: 102.4 MB / 0.5007 GB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.683, allocations: 83.94 kB / 0.5008 GB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1437/0.8267, allocations: 38.68 MB / 0.5386 GB, free: 10.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.8267, allocations: 0 / 0.5386 GB, free: 10.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.036e-05/0.8268, allocations: 31.98 kB / 0.5386 GB, free: 10.39 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008254/0.8351, allocations: 1.678 MB / 0.5403 GB, free: 8.668 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.8351, allocations: 15.97 kB / 0.5403 GB, free: 8.652 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005178/0.8357, allocations: 190.5 kB / 0.5405 GB, free: 8.457 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.8458, allocations: 0.9819 MB / 0.5414 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.8476, allocations: 0.5948 MB / 0.542 GB, free: 6.836 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.8477, allocations: 106.6 kB / 0.5421 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.8481, allocations: 127.9 kB / 0.5422 GB, free: 6.605 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.8521, allocations: 1.404 MB / 0.5436 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.659e-05/0.8522, allocations: 4 kB / 0.5436 GB, free: 5.152 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.8524, allocations: 64 kB / 0.5437 GB, free: 5.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.8525, allocations: 32 kB / 0.5437 GB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/0.8566, allocations: 1.419 MB / 0.5451 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.8717, allocations: 5.448 MB / 0.5504 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.8755, allocations: 2.14 MB / 0.5525 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.8771, allocations: 0.6111 MB / 0.5531 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.8774, allocations: 110.1 kB / 0.5532 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.8775, allocations: 43.56 kB / 0.5532 GB, free: 10.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 4.298e-06/0.8775, allocations: 0 / 0.5532 GB, free: 10.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=127): time 0.003629/0.8811, allocations: 1.225 MB / 0.5544 GB, free: 9.512 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.8812, allocations: 102.1 kB / 0.5545 GB, free: 9.395 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007843/0.882, allocations: 403.8 kB / 0.5549 GB, free: 8.992 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.8823, allocations: 45.7 kB / 0.555 GB, free: 8.941 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.8827, allocations: 459.6 kB / 0.5554 GB, free: 8.484 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.8833, allocations: 417.8 kB / 0.5558 GB, free: 8.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.8834, allocations: 24 kB / 0.5558 GB, free: 8.047 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.8836, allocations: 382.8 kB / 0.5562 GB, free: 7.664 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.885, allocations: 414.6 kB / 0.5566 GB, free: 7.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.8865, allocations: 0.6243 MB / 0.5572 GB, free: 6.555 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.888, allocations: 480.5 kB / 0.5576 GB, free: 6.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.8881, allocations: 4 kB / 0.5576 GB, free: 6.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004249/0.8923, allocations: 1.445 MB / 0.5591 GB, free: 4.633 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.8924, allocations: 8 kB / 0.5591 GB, free: 4.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.8924, allocations: 8 kB / 0.5591 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.895, allocations: 0.5047 MB / 0.5596 GB, free: 4.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.8967, allocations: 195.7 kB / 0.5598 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.9075, allocations: 4.273 MB / 0.5639 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9089, allocations: 122.8 kB / 0.564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.9091, allocations: 47.98 kB / 0.5641 GB, free: 15.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003413/0.9094, allocations: 168.7 kB / 0.5642 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.9097, allocations: 79.02 kB / 0.5643 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.9144, allocations: 1.555 MB / 0.5658 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.9145, allocations: 16 kB / 0.5659 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9145, allocations: 0 / 0.5659 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.9145, allocations: 7.969 kB / 0.5659 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007443/0.922, allocations: 2.796 MB / 0.5686 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.9221, allocations: 0 / 0.5686 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.9234, allocations: 147.8 kB / 0.5687 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003179/0.9266, allocations: 0.495 MB / 0.5692 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/0.927, allocations: 35.94 kB / 0.5693 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.9378, allocations: 4.251 MB / 0.5734 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9379, allocations: 0 / 0.5734 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/0.9438, allocations: 2.191 MB / 0.5755 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008498/0.9447, allocations: 283.8 kB / 0.5758 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.945, allocations: 27.94 kB / 0.5758 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.9461, allocations: 59.97 kB / 0.5759 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/0.9465, allocations: 109 kB / 0.576 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.9467, allocations: 35.98 kB / 0.576 GB, free: 2.812 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005832/0.9473, allocations: 305.6 kB / 0.5763 GB, free: 2.512 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.9473, allocations: 0 / 0.5763 GB, free: 2.512 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001934/0.9492, allocations: 419 kB / 0.5767 GB, free: 2.102 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.006643/0.9559, allocations: 2.948 MB / 0.5796 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005363/0.9614, allocations: 1.621 MB / 0.5812 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.9614, allocations: 0 / 0.5812 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003744/0.9652, allocations: 1.084 MB / 0.5823 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.9662, allocations: 78.06 kB / 0.5823 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008752/0.975, allocations: 2.234 MB / 0.5845 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.976, allocations: 1.099 MB / 0.5856 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000975/0.977, allocations: 106.7 kB / 0.5857 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008816/0.9779, allocations: 387.3 kB / 0.5861 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/0.978, allocations: 3.938 kB / 0.5861 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.096, allocations: 23.91 MB / 0.6094 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/1.096, allocations: 190.2 kB / 0.6096 GB, free: 480 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/4.352, allocations: 0 / 0.6096 GB, free: 480 kB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat