Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 15.94 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004196/0.3155, allocations: 2.257 MB / 310.8 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3177, allocations: 0.7297 MB / 311.5 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.318, allocations: 4 kB / 311.5 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.3182, allocations: 47.66 kB / 311.6 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3185, allocations: 99.64 kB / 311.7 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.3189, allocations: 91.84 kB / 311.8 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.3194, allocations: 288 kB / 312.1 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.3198, allocations: 166.3 kB / 312.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.3201, allocations: 139.5 kB / 312.4 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.3204, allocations: 159.3 kB / 312.5 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.3205, allocations: 20 kB / 312.5 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.3206, allocations: 24 kB / 312.6 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.3207, allocations: 75.73 kB / 312.6 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3209, allocations: 97.52 kB / 312.7 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.3214, allocations: 371.9 kB / 313.1 MB, free: 8.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3214, allocations: 4 kB / 313.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3214, allocations: 0 / 313.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3215, allocations: 0 / 313.1 MB, free: 8.094 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001539/0.323, allocations: 0.6239 MB / 313.7 MB, free: 7.422 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3231, allocations: 8.031 kB / 313.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.3232, allocations: 78.53 kB / 313.8 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3234, allocations: 55.38 kB / 313.9 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.3238, allocations: 267.2 kB / 314.1 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.3239, allocations: 33 kB / 314.1 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.324, allocations: 44 kB / 314.2 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.3251, allocations: 447.2 kB / 314.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.3252, allocations: 0 / 314.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.3252, allocations: 20 kB / 314.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.3253, allocations: 15.94 kB / 314.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.3262, allocations: 287.8 kB / 314.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.3293, allocations: 1.326 MB / 316.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.33, allocations: 238.9 kB / 316.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3301, allocations: 4 kB / 316.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3301, allocations: 34.52 kB / 316.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.3301, allocations: 4 kB / 316.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.00242/0.3326, allocations: 0.551 MB / 317.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.3328, allocations: 239.3 kB / 317.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.3331, allocations: 204.2 kB / 317.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3331, allocations: 33.7 kB / 317.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.3334, allocations: 204.2 kB / 317.8 MB, free: 3.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3335, allocations: 98.55 kB / 317.9 MB, free: 2.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.3335, allocations: 4 kB / 317.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3337, allocations: 334.8 kB / 318.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.334, allocations: 83.95 kB / 318.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3344, allocations: 155.6 kB / 318.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.3348, allocations: 108 kB / 318.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3348, allocations: 0 / 318.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008351/0.3356, allocations: 289 kB / 318.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.3357, allocations: 7.984 kB / 318.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3357, allocations: 3.938 kB / 318.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3357, allocations: 0 / 318.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.3364, allocations: 79.89 kB / 318.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3364, allocations: 4 kB / 318.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.3368, allocations: 35.69 kB / 318.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3368, allocations: 4 kB / 318.9 MB, free: 1.859 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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.0002382/0.337, allocations: 161.8 kB / 319.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.3371, allocations: 27.67 kB / 319.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3373, allocations: 30.66 kB / 319.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3373, allocations: 4 kB / 319.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3373, allocations: 0 / 319.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3373, allocations: 3.984 kB / 319.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.338, allocations: 385.3 kB / 319.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.338, allocations: 0 / 319.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.3386, allocations: 55.97 kB / 319.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005644/0.3392, allocations: 96.69 kB / 319.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.3392, allocations: 8 kB / 319.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.3423, allocations: 1.866 MB / 321.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3423, allocations: 112 / 321.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3437, allocations: 0.524 MB / 322.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3439, allocations: 104.8 kB / 322.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.3439, allocations: 4 kB / 322.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3442, allocations: 15.98 kB / 322.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.3443, allocations: 23.97 kB / 322.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3444, allocations: 4 kB / 322.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.3446, allocations: 151.4 kB / 322.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3446, allocations: 4 kB / 322.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.3452, allocations: 107.6 kB / 322.5 MB, free: 14.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/0.347, allocations: 1.053 MB / 323.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00074/0.3477, allocations: 220.4 kB / 323.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3477, allocations: 0 / 323.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.3485, allocations: 286.5 kB / 324 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3488, allocations: 23.88 kB / 324.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.3531, allocations: 1.926 MB / 326 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.3536, allocations: 0.7948 MB / 326.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.3538, allocations: 21.94 kB / 326.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3541, allocations: 99.41 kB / 326.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of SimCode: time 1.462e-06/0.3541, allocations: 4 kB / 326.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0396/0.3937, allocations: 5.131 MB / 332 MB, free: 4.441 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/0.3942, allocations: 199.7 kB / 332.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/3.298, allocations: 3.938 kB / 332.2 MB, free: 4.199 MB / 266.7 MB "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:C1.C,C1.IC,C1.UIC,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C1.vinternal,C2.C,C2.IC,C2.UIC,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,C2.vinternal,L1.IC,L1.ICP.L,L1.ICP.di,L1.ICP.v,L1.L,L1.UIC,L1.i,L1.iinternal,L1.n.i,L1.n.v,L1.p.i,L1.p.v,L1.v,L2.IC,L2.ICP.L,L2.ICP.di,L2.ICP.v,L2.L,L2.UIC,L2.i,L2.iinternal,L2.n.i,L2.n.v,L2.p.i,L2.p.v,L2.v,L3.IC,L3.ICP.L,L3.ICP.di,L3.ICP.v,L3.L,L3.UIC,L3.i,L3.iinternal,L3.n.i,L3.n.v,L3.p.i,L3.p.v,L3.v,R1.R,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.v,R2.R,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.v,R3.R,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.v,R4.R,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.v,R5.R,R5.i,R5.n.i,R5.n.v,R5.p.i,R5.p.v,R5.v,der(C1.vinternal),der(C2.vinternal),der(L1.iinternal),der(L2.iinternal),der(L3.iinternal),ground.p.i,ground.p.v,k1.M,k1.inductiveCouplePin1.L,k1.inductiveCouplePin1.di,k1.inductiveCouplePin1.v,k1.inductiveCouplePin2.L,k1.inductiveCouplePin2.di,k1.inductiveCouplePin2.v,k1.k,k2.M,k2.inductiveCouplePin1.L,k2.inductiveCouplePin1.di,k2.inductiveCouplePin1.v,k2.inductiveCouplePin2.L,k2.inductiveCouplePin2.di,k2.inductiveCouplePin2.v,k2.k,k3.M,k3.inductiveCouplePin1.L,k3.inductiveCouplePin1.di,k3.inductiveCouplePin1.v,k3.inductiveCouplePin2.L,k3.inductiveCouplePin2.di,k3.inductiveCouplePin2.v,k3.k,sineVoltage.FREQ,sineVoltage.TD,sineVoltage.THETA,sineVoltage.VA,sineVoltage.VO,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.v,time