Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_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.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 194.8 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.0005645, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2995, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.4843, allocations: 107.5 MB / 416.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.4847, allocations: 87.95 kB / 416.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5911/1.076, allocations: 93.84 MB / 0.498 GB, free: 16.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.076, allocations: 0 / 0.498 GB, free: 16.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004327/1.076, allocations: 99.88 kB / 0.4981 GB, free: 16.21 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01536/1.092, allocations: 3.97 MB / 0.502 GB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.092, allocations: 8.031 kB / 0.502 GB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002256/1.094, allocations: 0.5018 MB / 0.5025 GB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/1.097, allocations: 0.5025 MB / 0.503 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008641/1.106, allocations: 2.556 MB / 0.5055 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/1.106, allocations: 267 kB / 0.5057 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/1.108, allocations: 359.9 kB / 0.5061 GB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/1.123, allocations: 4.937 MB / 0.5109 GB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/1.123, allocations: 15.84 kB / 0.5109 GB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/1.125, allocations: 152 kB / 0.5111 GB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/1.125, allocations: 179.1 kB / 0.5112 GB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/1.138, allocations: 4.061 MB / 0.5152 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04296/1.181, allocations: 14.96 MB / 0.5298 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008168/1.19, allocations: 4.219 MB / 0.5339 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/1.19, allocations: 147 kB / 0.5341 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/1.19, allocations: 64.52 kB / 0.5341 GB, free: 10.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 4.98e-06/1.19, allocations: 0 / 0.5341 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.04199/1.232, allocations: 10.17 MB / 0.5441 GB, free: 108 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/1.233, allocations: 73.41 kB / 0.5441 GB, free: 20 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008317/1.241, allocations: 2.209 MB / 0.5463 GB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006617/1.242, allocations: 61.7 kB / 0.5464 GB, free: 13.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/1.244, allocations: 1.6 MB / 0.5479 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001635/1.246, allocations: 0.7393 MB / 0.5486 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/1.246, allocations: 48 kB / 0.5487 GB, free: 11.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003444/1.247, allocations: 394.5 kB / 0.5491 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005238/1.252, allocations: 1.304 MB / 0.5503 GB, free: 9.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006041/1.258, allocations: 1.741 MB / 0.552 GB, free: 7.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005964/1.264, allocations: 1.56 MB / 0.5536 GB, free: 6.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/1.264, allocations: 4 kB / 0.5536 GB, free: 6.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01736/1.281, allocations: 4.052 MB / 0.5575 GB, free: 2.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/1.282, allocations: 8 kB / 0.5575 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.434e-05/1.282, allocations: 12 kB / 0.5575 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004629/1.286, allocations: 0.7544 MB / 0.5583 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005951/1.292, allocations: 0.5266 MB / 0.5588 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3196/1.612, allocations: 8.942 MB / 0.5675 GB, free: 67.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/1.615, allocations: 117.1 kB / 0.5676 GB, free: 67.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005583/1.616, allocations: 90.08 kB / 0.5677 GB, free: 67.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003461/1.619, allocations: 1.214 MB / 0.5689 GB, free: 67.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009897/1.62, allocations: 273.6 kB / 0.5692 GB, free: 67.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.632, allocations: 3.785 MB / 0.5729 GB, free: 67.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/1.633, allocations: 21.22 kB / 0.5729 GB, free: 67.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/1.633, allocations: 7.688 kB / 0.5729 GB, free: 67.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/1.633, allocations: 7.641 kB / 0.5729 GB, free: 67.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02986/1.663, allocations: 8.081 MB / 0.5808 GB, free: 66.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/1.663, allocations: 2.969 kB / 0.5808 GB, free: 66.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004595/1.667, allocations: 391.9 kB / 0.5812 GB, free: 66.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00501/1.672, allocations: 0.8181 MB / 0.582 GB, free: 66.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005779/1.673, allocations: 58.39 kB / 0.582 GB, free: 66.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/1.694, allocations: 10.47 MB / 0.5922 GB, free: 61.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.694, allocations: 3.812 kB / 0.5922 GB, free: 61.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.713, allocations: 5.831 MB / 0.5979 GB, free: 61.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/1.716, allocations: 0.6467 MB / 0.5986 GB, free: 60.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.717, allocations: 46.75 kB / 0.5986 GB, free: 60.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003201/1.72, allocations: 134.3 kB / 0.5987 GB, free: 60.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008162/1.721, allocations: 184.3 kB / 0.5989 GB, free: 60.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.722, allocations: 67.75 kB / 0.599 GB, free: 60.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004138/1.726, allocations: 1.704 MB / 0.6006 GB, free: 60.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.726, allocations: 0 / 0.6006 GB, free: 60.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004445/1.73, allocations: 0.8308 MB / 0.6015 GB, free: 60.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01581/1.746, allocations: 7.363 MB / 0.6086 GB, free: 56.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00982/1.756, allocations: 3.926 MB / 0.6125 GB, free: 54.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.756, allocations: 7.125 kB / 0.6125 GB, free: 54.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.762, allocations: 2.521 MB / 0.6149 GB, free: 53.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005909/1.768, allocations: 0.7377 MB / 0.6157 GB, free: 53.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06864/1.837, allocations: 31.95 MB / 0.6469 GB, free: 32.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003501/1.84, allocations: 2.84 MB / 0.6496 GB, free: 30.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003709/1.844, allocations: 0.6888 MB / 0.6503 GB, free: 29.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/1.847, allocations: 1.399 MB / 0.6517 GB, free: 28.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/1.847, allocations: 0 / 0.6517 GB, free: 28.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4559/2.303, allocations: 74.79 MB / 0.7247 GB, free: 87.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/2.304, allocations: 220.6 kB / 0.7249 GB, free: 87.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.501/7.805, allocations: 0 / 0.7249 GB, free: 87.03 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat