Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005552/0.0005553, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3744, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.5645, allocations: 81.16 MB / 389.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.5649, allocations: 83.95 kB / 389.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3759/0.9408, allocations: 28.84 MB / 418.6 MB, free: 79.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.9409, allocations: 1.406 kB / 418.6 MB, free: 79.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.462e-05/0.9409, allocations: 15.28 kB / 418.7 MB, free: 79.72 MB / 346.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.004173/0.9451, allocations: 1.096 MB / 419.8 MB, free: 79.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.9452, allocations: 7.688 kB / 419.8 MB, free: 79.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000516/0.9457, allocations: 164.3 kB / 419.9 MB, free: 79.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007224/0.953, allocations: 0.7152 MB / 420.6 MB, free: 79.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.9541, allocations: 443.9 kB / 421.1 MB, free: 78.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.9542, allocations: 85.52 kB / 421.2 MB, free: 78.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.9545, allocations: 106.6 kB / 421.3 MB, free: 78.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.9577, allocations: 1.107 MB / 422.4 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.9578, allocations: 3.312 kB / 422.4 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.9579, allocations: 44.34 kB / 422.4 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.958, allocations: 28.22 kB / 422.4 MB, free: 78.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.9612, allocations: 1.135 MB / 423.6 MB, free: 78.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009218/0.9704, allocations: 4.063 MB / 427.6 MB, free: 77.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/0.9747, allocations: 3.753 MB / 431.4 MB, free: 73.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.9749, allocations: 102.3 kB / 431.5 MB, free: 73.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.9749, allocations: 42.66 kB / 431.5 MB, free: 73.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.627e-06/0.975, allocations: 0 / 431.5 MB, free: 73.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.002132/0.9771, allocations: 0.763 MB / 432.3 MB, free: 73.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.9772, allocations: 110 kB / 432.4 MB, free: 73.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.9776, allocations: 288.6 kB / 432.7 MB, free: 73.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.9777, allocations: 33.39 kB / 432.7 MB, free: 73.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.978, allocations: 443.4 kB / 433.2 MB, free: 72.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.9782, allocations: 245.9 kB / 433.4 MB, free: 72.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.9783, allocations: 20 kB / 433.4 MB, free: 72.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.9784, allocations: 354.3 kB / 433.8 MB, free: 72.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.9791, allocations: 251.6 kB / 434 MB, free: 72.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.9799, allocations: 0.5511 MB / 434.6 MB, free: 71.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.9807, allocations: 332.1 kB / 434.9 MB, free: 71.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.9808, allocations: 3.938 kB / 434.9 MB, free: 71.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002262/0.983, allocations: 0.8919 MB / 435.8 MB, free: 71.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.9831, allocations: 12.97 kB / 435.8 MB, free: 71.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.9831, allocations: 12.09 kB / 435.8 MB, free: 71.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.621e-05/0.9832, allocations: 22.39 kB / 435.8 MB, free: 71.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.9847, allocations: 239.2 kB / 436.1 MB, free: 71.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.9848, allocations: 27.94 kB / 436.1 MB, free: 71.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008673/0.9856, allocations: 102.5 kB / 436.2 MB, free: 71.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.9857, allocations: 45.39 kB / 436.2 MB, free: 71.75 MB / 346.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.0004667/0.9862, allocations: 240.6 kB / 436.5 MB, free: 71.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.9864, allocations: 42.09 kB / 436.5 MB, free: 71.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.9882, allocations: 0.6829 MB / 437.2 MB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.9883, allocations: 11.94 kB / 437.2 MB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.9883, allocations: 0 / 437.2 MB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.9883, allocations: 16.17 kB / 437.2 MB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.9918, allocations: 1.573 MB / 438.8 MB, free: 71.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.9918, allocations: 7.938 kB / 438.8 MB, free: 71.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.993, allocations: 150.7 kB / 438.9 MB, free: 71.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.993, allocations: 3.156 kB / 438.9 MB, free: 71.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.9931, allocations: 17.06 kB / 439 MB, free: 71.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.9931, allocations: 0.75 kB / 439 MB, free: 71.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9931, allocations: 3.438 kB / 439 MB, free: 71.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.9955, allocations: 1.186 MB / 440.2 MB, free: 70.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.9957, allocations: 136 kB / 440.3 MB, free: 70.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9958, allocations: 12.81 kB / 440.3 MB, free: 70.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.9965, allocations: 28.81 kB / 440.3 MB, free: 70.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.9966, allocations: 47.78 kB / 440.4 MB, free: 70.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.9967, allocations: 21.16 kB / 440.4 MB, free: 70.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002801/0.997, allocations: 205.1 kB / 440.6 MB, free: 70.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.997, allocations: 0 / 440.6 MB, free: 70.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001147/0.9981, allocations: 263.6 kB / 440.9 MB, free: 70.34 MB / 346.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.002735/1.001, allocations: 1.914 MB / 442.8 MB, free: 68.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/1.003, allocations: 0.6882 MB / 443.5 MB, free: 68.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.003, allocations: 4.062 kB / 443.5 MB, free: 68.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007459/1.004, allocations: 328 kB / 443.8 MB, free: 68.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/1.004, allocations: 34.52 kB / 443.8 MB, free: 68.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.015, allocations: 11.06 MB / 454.9 MB, free: 59.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/1.016, allocations: 0.9345 MB / 455.8 MB, free: 58.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007153/1.017, allocations: 95.44 kB / 455.9 MB, free: 58.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/1.017, allocations: 282.4 kB / 456.2 MB, free: 58.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/1.017, allocations: 0 / 456.2 MB, free: 58.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0495/1.067, allocations: 9.456 MB / 465.6 MB, free: 53.15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.067, allocations: 203.5 kB / 465.8 MB, free: 52.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/4.261, allocations: 0 / 465.8 MB, free: 52.91 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat