Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.0005599, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1331, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5995, allocations: 81.15 MB / 389.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.5999, allocations: 86.2 kB / 389.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1154/0.7153, allocations: 28.85 MB / 418.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.7153, allocations: 0 / 418.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.7154, allocations: 19.12 kB / 418.6 MB, free: 6.43 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003427/0.7188, allocations: 1.086 MB / 419.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7189, allocations: 7.75 kB / 419.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003933/0.7193, allocations: 165.7 kB / 419.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007161/0.7265, allocations: 0.7193 MB / 420.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.7275, allocations: 445.3 kB / 421.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.7276, allocations: 84.02 kB / 421.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.7279, allocations: 108.2 kB / 421.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.7306, allocations: 1.105 MB / 422.3 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/0.7307, allocations: 3.906 kB / 422.3 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.7309, allocations: 46.59 kB / 422.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.7309, allocations: 31.06 kB / 422.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.7338, allocations: 1.134 MB / 423.6 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008215/0.742, allocations: 4.056 MB / 427.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/0.7465, allocations: 3.765 MB / 431.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.7468, allocations: 89.23 kB / 431.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.7469, allocations: 50.19 kB / 431.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 4.548e-06/0.7469, allocations: 0 / 431.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.002184/0.7491, allocations: 0.7532 MB / 432.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.7492, allocations: 115.1 kB / 432.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.7496, allocations: 292.7 kB / 432.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.7497, allocations: 33.2 kB / 432.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.75, allocations: 0.4962 MB / 433.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.7503, allocations: 245.8 kB / 433.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.7504, allocations: 18.53 kB / 433.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.7506, allocations: 345.9 kB / 433.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.7513, allocations: 246.8 kB / 434 MB, free: 13.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.7523, allocations: 0.5548 MB / 434.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.7531, allocations: 334.5 kB / 434.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.7532, allocations: 3.688 kB / 434.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002077/0.7553, allocations: 0.8885 MB / 435.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.7553, allocations: 7.875 kB / 435.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.7553, allocations: 15.61 kB / 435.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.7554, allocations: 20.19 kB / 435.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.7569, allocations: 236.8 kB / 436.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/0.7569, allocations: 23.42 kB / 436.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.7577, allocations: 105.3 kB / 436.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.7578, allocations: 48.67 kB / 436.3 MB, free: 12.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005333/0.7584, allocations: 234.8 kB / 436.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.7585, allocations: 46.75 kB / 436.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.7605, allocations: 0.694 MB / 437.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.7605, allocations: 11.45 kB / 437.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7606, allocations: 0 / 437.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.7606, allocations: 3.984 kB / 437.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.7644, allocations: 1.584 MB / 438.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7645, allocations: 0 / 438.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.7656, allocations: 147.8 kB / 439 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.7656, allocations: 11.89 kB / 439 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.7657, allocations: 15.88 kB / 439 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.7657, allocations: 3.875 kB / 439 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7657, allocations: 3.953 kB / 439 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.7682, allocations: 1.177 MB / 440.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.7684, allocations: 135.6 kB / 440.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.7686, allocations: 15.89 kB / 440.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.7692, allocations: 27.69 kB / 440.4 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7693, allocations: 51.77 kB / 440.4 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.7694, allocations: 19.47 kB / 440.4 MB, free: 9.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003137/0.7697, allocations: 205.1 kB / 440.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.655e-06/0.7697, allocations: 0 / 440.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001149/0.7709, allocations: 262 kB / 440.9 MB, free: 9.332 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/0.774, allocations: 1.92 MB / 442.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.776, allocations: 0.6919 MB / 443.5 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7761, allocations: 1.5 kB / 443.5 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.7769, allocations: 323.7 kB / 443.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.7775, allocations: 36.59 kB / 443.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.7922, allocations: 11.07 MB / 454.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.793, allocations: 0.94 MB / 455.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/0.7937, allocations: 291.3 kB / 456.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7938, allocations: 0 / 456.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.514, allocations: 10.67 MB / 466.8 MB, free: 15.66 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat