Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.9 MB / 211.1 MB, free: 7.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 8 kB / 264 MB, free: 2.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005337/0.2907, allocations: 3.323 MB / 311.9 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.293, allocations: 0.9089 MB / 312.8 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.2933, allocations: 8 kB / 312.8 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2935, allocations: 75.42 kB / 312.9 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.2941, allocations: 207.4 kB / 313.1 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.2946, allocations: 103.8 kB / 313.2 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.2954, allocations: 463.3 kB / 313.6 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.2958, allocations: 166.2 kB / 313.8 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.2963, allocations: 223.1 kB / 314 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.2967, allocations: 247 kB / 314.2 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.509e-05/0.2968, allocations: 32 kB / 314.3 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.297, allocations: 35.94 kB / 314.3 MB, free: 6.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.2971, allocations: 99.64 kB / 314.4 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2973, allocations: 121.4 kB / 314.5 MB, free: 6.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.2979, allocations: 471.6 kB / 315 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.298, allocations: 0 / 315 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.298, allocations: 0 / 315 MB, free: 6.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.298, allocations: 4 kB / 315 MB, free: 6.176 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002031/0.3, allocations: 0.7871 MB / 315.8 MB, free: 5.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3001, allocations: 8.031 kB / 315.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.3003, allocations: 107.6 kB / 315.9 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3005, allocations: 67.25 kB / 316 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.3012, allocations: 358.6 kB / 316.3 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.3013, allocations: 37.31 kB / 316.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3014, allocations: 52 kB / 316.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3028, allocations: 0.4916 MB / 316.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.3028, allocations: 0 / 316.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.386e-05/0.3029, allocations: 27.94 kB / 316.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.303, allocations: 16 kB / 316.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.3041, allocations: 344.7 kB / 317.3 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.3088, allocations: 1.752 MB / 319 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.3096, allocations: 261.1 kB / 319.3 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.3096, allocations: 4 kB / 319.3 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.3097, allocations: 34.88 kB / 319.3 MB, free: 1.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 3.737e-06/0.3097, allocations: 0 / 319.3 MB, free: 1.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.003101/0.3128, allocations: 0.9756 MB / 320.3 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3129, allocations: 89.06 kB / 320.4 MB, free: 464 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.3136, allocations: 381.6 kB / 320.7 MB, free: 72 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3136, allocations: 33.64 kB / 320.8 MB, free: 32 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.3139, allocations: 299.3 kB / 321.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3141, allocations: 110.4 kB / 321.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.3141, allocations: 16 kB / 321.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3143, allocations: 346.8 kB / 321.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.3147, allocations: 104.8 kB / 321.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.3152, allocations: 190.8 kB / 321.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.3157, allocations: 128.9 kB / 321.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.3157, allocations: 7.938 kB / 322 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001442/0.3171, allocations: 457.6 kB / 322.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.3172, allocations: 7.984 kB / 322.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3172, allocations: 4 kB / 322.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.3178, allocations: 81.84 kB / 322.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.3184, allocations: 75.91 kB / 322.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.322, allocations: 2.881 MB / 325.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.3226, allocations: 24 kB / 325.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.3226, allocations: 16 kB / 325.5 MB, free: 10.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.323, allocations: 165.7 kB / 325.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3231, allocations: 43.47 kB / 325.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3232, allocations: 43.47 kB / 325.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3232, allocations: 7.953 kB / 325.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3233, allocations: 0 / 325.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3233, allocations: 7.984 kB / 325.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.3256, allocations: 0.9494 MB / 326.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3256, allocations: 0 / 326.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.326, allocations: 51.91 kB / 326.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004882/0.3265, allocations: 81.64 kB / 326.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.3266, allocations: 8 kB / 326.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00335/0.3299, allocations: 2.877 MB / 329.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.33, allocations: 0 / 329.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3317, allocations: 0.617 MB / 330.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.3319, allocations: 116.7 kB / 330.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.332, allocations: 4 kB / 330.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.3326, allocations: 39.97 kB / 330.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3327, allocations: 31.86 kB / 330.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.3328, allocations: 12.36 kB / 330.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004582/0.3332, allocations: 267.2 kB / 330.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3333, allocations: 4 kB / 330.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007927/0.3341, allocations: 120 kB / 330.9 MB, free: 5.172 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001964/0.336, allocations: 1.174 MB / 332.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3375, allocations: 0.5128 MB / 332.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3375, allocations: 0.625 kB / 332.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009715/0.3385, allocations: 395 kB / 333 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.3392, allocations: 61.47 kB / 333 MB, free: 2.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006437/0.3456, allocations: 2.703 MB / 335.8 MB, free: 164 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.3463, allocations: 0.8548 MB / 336.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.3466, allocations: 43.28 kB / 336.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.347, allocations: 179.3 kB / 336.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.347, allocations: 0 / 336.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.3868, allocations: 8.04 MB / 344.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/0.3872, allocations: 211.4 kB / 345.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/2.987, allocations: 4 kB / 345.1 MB, free: 6.797 MB / 282.7 MB "" Variables in the reference:time,basicTransformer.i1,basicTransformer.i2,inductor22.i Variables in the result:L1,L1sigma,L2,L2sigma,Lm1,M,R1,R2,RL,Vdc,Vpeak,basicTransformer.L1,basicTransformer.L2,basicTransformer.M,basicTransformer.dv,basicTransformer.i1,basicTransformer.i2,basicTransformer.n1.i,basicTransformer.n1.v,basicTransformer.n2.i,basicTransformer.n2.v,basicTransformer.p1.i,basicTransformer.p1.v,basicTransformer.p2.i,basicTransformer.p2.v,basicTransformer.v1,basicTransformer.v2,der(basicTransformer.i1),der(basicTransformer.i2),der(inductor21.i),der(inductor22.i),f,ground11.p.i,ground11.p.v,ground12.p.i,ground12.p.v,ground21.p.i,ground21.p.v,ground22.p.i,ground22.p.v,i1B,i1I,i2B,i2I,idealTransformer.Lm1,idealTransformer.considerMagnetization,idealTransformer.i1,idealTransformer.i2,idealTransformer.im1,idealTransformer.n,idealTransformer.n1.i,idealTransformer.n1.v,idealTransformer.n2.i,idealTransformer.n2.v,idealTransformer.p1.i,idealTransformer.p1.v,idealTransformer.p2.i,idealTransformer.p2.v,idealTransformer.psim1,idealTransformer.v1,idealTransformer.v2,inductor21.L,inductor21.i,inductor21.n.i,inductor21.n.v,inductor21.p.i,inductor21.p.v,inductor21.v,inductor22.L,inductor22.i,inductor22.n.i,inductor22.n.v,inductor22.p.i,inductor22.p.v,inductor22.v,load1.LossPower,load1.R,load1.R_actual,load1.T,load1.T_heatPort,load1.T_ref,load1.alpha,load1.i,load1.n.i,load1.n.v,load1.p.i,load1.p.v,load1.useHeatPort,load1.v,load2.LossPower,load2.R,load2.R_actual,load2.T,load2.T_heatPort,load2.T_ref,load2.alpha,load2.i,load2.n.i,load2.n.v,load2.p.i,load2.p.v,load2.useHeatPort,load2.v,n,phi0,resistor11.LossPower,resistor11.R,resistor11.R_actual,resistor11.T,resistor11.T_heatPort,resistor11.T_ref,resistor11.alpha,resistor11.i,resistor11.n.i,resistor11.n.v,resistor11.p.i,resistor11.p.v,resistor11.useHeatPort,resistor11.v,resistor12.LossPower,resistor12.R,resistor12.R_actual,resistor12.T,resistor12.T_heatPort,resistor12.T_ref,resistor12.alpha,resistor12.i,resistor12.n.i,resistor12.n.v,resistor12.p.i,resistor12.p.v,resistor12.useHeatPort,resistor12.v,resistor21.LossPower,resistor21.R,resistor21.R_actual,resistor21.T,resistor21.T_heatPort,resistor21.T_ref,resistor21.alpha,resistor21.i,resistor21.n.i,resistor21.n.v,resistor21.p.i,resistor21.p.v,resistor21.useHeatPort,resistor21.v,resistor22.LossPower,resistor22.R,resistor22.R_actual,resistor22.T,resistor22.T_heatPort,resistor22.T_ref,resistor22.alpha,resistor22.i,resistor22.n.i,resistor22.n.v,resistor22.p.i,resistor22.p.v,resistor22.useHeatPort,resistor22.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage2.V,sineVoltage2.freqHz,sineVoltage2.i,sineVoltage2.n.i,sineVoltage2.n.v,sineVoltage2.offset,sineVoltage2.p.i,sineVoltage2.p.v,sineVoltage2.phase,sineVoltage2.signalSource.amplitude,sineVoltage2.signalSource.freqHz,sineVoltage2.signalSource.offset,sineVoltage2.signalSource.phase,sineVoltage2.signalSource.startTime,sineVoltage2.signalSource.y,sineVoltage2.startTime,sineVoltage2.v,time,v1B,v1I,v2B,v2I