Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.093, allocations: 44.52 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5274, allocations: 76.27 MB / 384.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.5277, allocations: 74.91 kB / 384.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08336/0.6111, allocations: 18.52 MB / 403.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6112, allocations: 3.875 kB / 403.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.6113, allocations: 30.25 kB / 403.4 MB, free: 11.36 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005484/0.6168, allocations: 1.452 MB / 404.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.6169, allocations: 7.594 kB / 404.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007/0.6176, allocations: 177.3 kB / 405.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.6181, allocations: 143.9 kB / 405.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.6209, allocations: 0.8563 MB / 406.1 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.6211, allocations: 83.84 kB / 406.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.6214, allocations: 108.2 kB / 406.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.6264, allocations: 1.506 MB / 407.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.6265, allocations: 0 / 407.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.6268, allocations: 50.22 kB / 407.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.6268, allocations: 27.09 kB / 407.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/0.6313, allocations: 1.232 MB / 409.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.6425, allocations: 4.258 MB / 413.3 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.644, allocations: 1.308 MB / 414.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.6441, allocations: 4 kB / 414.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.6441, allocations: 38.66 kB / 414.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.337e-06/0.6441, allocations: 0 / 414.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.004726/0.6489, allocations: 1.971 MB / 416.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6489, allocations: 59.62 kB / 416.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.6503, allocations: 0.7446 MB / 417.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/0.6504, allocations: 33.02 kB / 417.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.6507, allocations: 0.5571 MB / 418 MB, free: 4.699 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6508, allocations: 169.3 kB / 418.2 MB, free: 4.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.6509, allocations: 10.81 kB / 418.2 MB, free: 4.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.651, allocations: 333.6 kB / 418.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/0.6517, allocations: 310.3 kB / 418.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.6525, allocations: 409.8 kB / 419.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.6533, allocations: 377.3 kB / 419.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6533, allocations: 7.938 kB / 419.6 MB, free: 3.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001904/0.6552, allocations: 0.8753 MB / 420.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.6553, allocations: 8.5 kB / 420.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6553, allocations: 7.656 kB / 420.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.6557, allocations: 106.2 kB / 420.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009287/0.6566, allocations: 124.9 kB / 420.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.6592, allocations: 2.195 MB / 422.9 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.6601, allocations: 27.2 kB / 423 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.6602, allocations: 23.39 kB / 423 MB, free: 2.129 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009181/0.6611, allocations: 455.8 kB / 423.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.6613, allocations: 78.11 kB / 423.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.6615, allocations: 88.2 kB / 423.6 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6615, allocations: 7.75 kB / 423.6 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6616, allocations: 3.984 kB / 423.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.6616, allocations: 0 / 423.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.6661, allocations: 2.016 MB / 425.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6662, allocations: 0 / 425.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.6669, allocations: 93.62 kB / 425.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.6673, allocations: 105.3 kB / 425.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.6673, allocations: 11.19 kB / 425.8 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.67, allocations: 2.15 MB / 428 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6701, allocations: 0 / 428 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.6728, allocations: 1.241 MB / 429.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.6732, allocations: 156.6 kB / 429.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.6734, allocations: 14.36 kB / 429.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.6741, allocations: 51.77 kB / 429.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.6743, allocations: 40.42 kB / 429.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.6743, allocations: 15.8 kB / 429.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.6755, allocations: 0.5781 MB / 430.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6755, allocations: 0 / 430.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001136/0.6766, allocations: 211.8 kB / 430.3 MB, free: 14.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003298/0.6799, allocations: 1.925 MB / 432.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.6821, allocations: 0.8373 MB / 433 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6822, allocations: 0.625 kB / 433 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.6834, allocations: 491.1 kB / 433.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6848, allocations: 164.8 kB / 433.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.7, allocations: 7.733 MB / 441.4 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.7014, allocations: 1.341 MB / 442.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/0.7024, allocations: 374.2 kB / 443.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7024, allocations: 0 / 443.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.858/3.56, allocations: 24.39 MB / 467.5 MB, free: 13.95 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat