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 1.849/1.849, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 12 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2756, allocations: 44.49 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007829/0.2835, allocations: 4.846 MB / 313.4 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.2877, allocations: 1.684 MB / 315.1 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.2881, allocations: 20 kB / 315.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.2888, allocations: 198.8 kB / 315.3 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.2911, allocations: 0.7245 MB / 316 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.2919, allocations: 223.6 kB / 316.2 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.293, allocations: 0.6084 MB / 316.9 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/0.2969, allocations: 1.444 MB / 318.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.2975, allocations: 318.8 kB / 318.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007762/0.2982, allocations: 446.3 kB / 319 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.2984, allocations: 40 kB / 319.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.299, allocations: 167.8 kB / 319.2 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.2992, allocations: 159.4 kB / 319.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.2994, allocations: 173.3 kB / 319.6 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3008, allocations: 0.9241 MB / 320.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.3008, allocations: 0 / 320.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3008, allocations: 0 / 320.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3009, allocations: 0 / 320.5 MB, free: 0.6211 MB / 250.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.004553/0.3054, allocations: 1.245 MB / 321.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3055, allocations: 8.031 kB / 321.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002643/0.3058, allocations: 168.9 kB / 321.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.316, allocations: 0.9705 MB / 322.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/0.3168, allocations: 449.6 kB / 323.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.3169, allocations: 86.17 kB / 323.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.3172, allocations: 104 kB / 323.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.3201, allocations: 1.105 MB / 324.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.3202, allocations: 8 kB / 324.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.3204, allocations: 40 kB / 324.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.3204, allocations: 28 kB / 324.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/0.3236, allocations: 1.128 MB / 325.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008355/0.332, allocations: 3.976 MB / 329.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005005/0.337, allocations: 3.748 MB / 333.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.3372, allocations: 101.6 kB / 333.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3373, allocations: 39.12 kB / 333.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 3.106e-06/0.3373, allocations: 0 / 333.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.002338/0.3396, allocations: 0.768 MB / 334.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.3397, allocations: 111.4 kB / 334.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.3402, allocations: 312.3 kB / 334.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.3403, allocations: 41.77 kB / 334.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.3406, allocations: 441.9 kB / 335.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.3409, allocations: 248.4 kB / 335.6 MB, free: 400 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.341, allocations: 20 kB / 335.6 MB, free: 380 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3412, allocations: 358.7 kB / 335.9 MB, free: 12 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.3419, allocations: 246 kB / 336.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.343, allocations: 0.5591 MB / 336.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/0.3439, allocations: 335 kB / 337.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3439, allocations: 8 kB / 337.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002321/0.3463, allocations: 0.8989 MB / 338 MB, free: 13.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3463, allocations: 8 kB / 338 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.3463, allocations: 12 kB / 338 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-05/0.3464, allocations: 16 kB / 338 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.3479, allocations: 240.2 kB / 338.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.852e-05/0.348, allocations: 23.92 kB / 338.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.3488, allocations: 106.9 kB / 338.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.3489, allocations: 44 kB / 338.4 MB, free: 13.38 MB / 282.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.0004476/0.3493, allocations: 245.4 kB / 338.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3495, allocations: 43.53 kB / 338.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.3515, allocations: 0.6893 MB / 339.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.3515, allocations: 8 kB / 339.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3516, allocations: 4 kB / 339.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3516, allocations: 7.984 kB / 339.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.3554, allocations: 1.598 MB / 341 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3554, allocations: 0 / 341 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.3566, allocations: 155.7 kB / 341.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.3566, allocations: 4 kB / 341.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.3567, allocations: 23.94 kB / 341.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3567, allocations: 0 / 341.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3567, allocations: 4 kB / 341.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.3594, allocations: 1.177 MB / 342.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.3595, allocations: 136.4 kB / 342.5 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3596, allocations: 12 kB / 342.5 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.3602, allocations: 32.05 kB / 342.5 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3604, allocations: 44.59 kB / 342.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.3605, allocations: 24 kB / 342.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000299/0.3608, allocations: 203.1 kB / 342.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3608, allocations: 0 / 342.8 MB, free: 8.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00113/0.3619, allocations: 239.1 kB / 343 MB, free: 8.648 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.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.003173/0.3651, allocations: 1.757 MB / 344.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3671, allocations: 0.6985 MB / 345.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3671, allocations: 0 / 345.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.368, allocations: 323.6 kB / 345.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3685, allocations: 35.11 kB / 345.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008107/0.3766, allocations: 3.643 MB / 349.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.3773, allocations: 0.9439 MB / 350.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007329/0.3781, allocations: 92.88 kB / 350.5 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/0.3787, allocations: 283.3 kB / 350.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of SimCode: time 3.267e-06/0.3787, allocations: 4 kB / 350.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/0.4223, allocations: 9.408 MB / 360.2 MB, free: 7.258 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.4226, allocations: 205.7 kB / 360.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/3.446, allocations: 0 / 360.4 MB, free: 7.012 MB / 298.7 MB