Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.065/1.065, allocations: 111.1 MB / 127.3 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002674, allocations: 12 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05384/0.05413, allocations: 25.16 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.2681, allocations: 36.98 MB / 221 MB, free: 5.902 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.2684, allocations: 68.94 kB / 221.1 MB, free: 5.895 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03138/0.2998, allocations: 7.964 MB / 229 MB, free: 2.676 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2998, allocations: 0 / 229 MB, free: 2.676 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.922e-05/0.2999, allocations: 15.98 kB / 229.1 MB, free: 2.66 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001678/0.3016, allocations: 0.7743 MB / 229.8 MB, free: 1.871 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3016, allocations: 8.031 kB / 229.8 MB, free: 1.863 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.3018, allocations: 67.23 kB / 229.9 MB, free: 1.797 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.3024, allocations: 358.1 kB / 230.3 MB, free: 1.445 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.3024, allocations: 37.75 kB / 230.3 MB, free: 1.422 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/0.3025, allocations: 48.94 kB / 230.3 MB, free: 1.391 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3036, allocations: 488.2 kB / 230.8 MB, free: 1.035 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3037, allocations: 0 / 230.8 MB, free: 1.035 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.3038, allocations: 22.56 kB / 230.8 MB, free: 1.027 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3038, allocations: 12 kB / 230.9 MB, free: 1.016 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.3047, allocations: 327.7 kB / 231.2 MB, free: 0.7969 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.3088, allocations: 1.699 MB / 232.9 MB, free: 15.29 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.3095, allocations: 262.3 kB / 233.1 MB, free: 15.08 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3095, allocations: 4 kB / 233.1 MB, free: 15.08 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3096, allocations: 37.88 kB / 233.2 MB, free: 15.04 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 2.906e-06/0.3096, allocations: 4 kB / 233.2 MB, free: 15.03 MB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.002878/0.3125, allocations: 0.9594 MB / 234.1 MB, free: 14.13 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3126, allocations: 81.11 kB / 234.2 MB, free: 14.03 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.3132, allocations: 385.5 kB / 234.6 MB, free: 13.73 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.3133, allocations: 33.45 kB / 234.6 MB, free: 13.7 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.3135, allocations: 335.4 kB / 235 MB, free: 13.41 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3137, allocations: 109.8 kB / 235.1 MB, free: 13.32 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.3137, allocations: 3.812 kB / 235.1 MB, free: 13.32 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3138, allocations: 326.3 kB / 235.4 MB, free: 13 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.3142, allocations: 98.45 kB / 235.5 MB, free: 12.93 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.3146, allocations: 188.7 kB / 235.7 MB, free: 12.75 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.3151, allocations: 137.2 kB / 235.8 MB, free: 12.67 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3151, allocations: 0 / 235.8 MB, free: 12.67 MB / 186.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00127/0.3164, allocations: 420 kB / 236.2 MB, free: 12.35 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3164, allocations: 8 kB / 236.2 MB, free: 12.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3164, allocations: 4.312 kB / 236.2 MB, free: 12.34 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.3169, allocations: 73.05 kB / 236.3 MB, free: 12.27 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.3175, allocations: 83.77 kB / 236.4 MB, free: 12.19 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.3207, allocations: 2.855 MB / 239.2 MB, free: 9.254 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.3213, allocations: 19.83 kB / 239.2 MB, free: 9.238 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.3214, allocations: 19.5 kB / 239.3 MB, free: 9.223 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the left port" type: Real 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 (44): * Single equations (assignments): 42 * 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.0004141/0.3218, allocations: 174.4 kB / 239.4 MB, free: 9.074 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3219, allocations: 43.48 kB / 239.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.322, allocations: 50.44 kB / 239.5 MB, free: 9.004 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3221, allocations: 4 kB / 239.5 MB, free: 9 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3221, allocations: 4 kB / 239.5 MB, free: 8.996 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3221, allocations: 0 / 239.5 MB, free: 8.996 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.3242, allocations: 0.9298 MB / 240.5 MB, free: 8.18 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3242, allocations: 3.938 kB / 240.5 MB, free: 8.176 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.3246, allocations: 47.91 kB / 240.5 MB, free: 8.129 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/0.325, allocations: 70.7 kB / 240.6 MB, free: 8.062 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.3251, allocations: 13.98 kB / 240.6 MB, free: 8.055 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.3282, allocations: 2.86 MB / 243.5 MB, free: 5.117 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3282, allocations: 0 / 243.5 MB, free: 5.117 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3297, allocations: 0.6029 MB / 244.1 MB, free: 4.602 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.33, allocations: 130.2 kB / 244.2 MB, free: 4.465 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/0.3301, allocations: 15.25 kB / 244.2 MB, free: 4.453 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/0.3307, allocations: 38.36 kB / 244.2 MB, free: 4.422 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.3308, allocations: 19.09 kB / 244.3 MB, free: 4.406 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.3308, allocations: 11.98 kB / 244.3 MB, free: 4.395 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004676/0.3313, allocations: 270 kB / 244.5 MB, free: 4.188 MB / 186.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3313, allocations: 0 / 244.5 MB, free: 4.188 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008407/0.3322, allocations: 126 kB / 244.7 MB, free: 4.078 MB / 186.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 (25): * Single equations (assignments): 23 * 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.0001897/0.3324, allocations: 110.9 kB / 244.8 MB, free: 3.965 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3338, allocations: 0.5175 MB / 245.3 MB, free: 3.496 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3338, allocations: 4 kB / 245.3 MB, free: 3.492 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.3347, allocations: 381.8 kB / 245.7 MB, free: 3.133 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.3357, allocations: 99.42 kB / 245.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3381, allocations: 1.187 MB / 246.9 MB, free: 1.902 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.3386, allocations: 0.8503 MB / 247.8 MB, free: 1.027 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.3388, allocations: 31.44 kB / 247.8 MB, free: 0.9961 MB / 186.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3389, allocations: 4 kB / 247.8 MB, free: 0.9922 MB / 186.7 MB Notification: Performance of Templates: time 0.01707/0.3559, allocations: 8.556 MB / 256.4 MB, free: 8.488 MB / 202.7 MB