Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005557, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3049, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.7824, allocations: 115 MB / 423.6 MB, free: 48.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.7827, allocations: 91.55 kB / 423.7 MB, free: 48.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3684/1.151, allocations: 101.5 MB / 0.5129 GB, free: 7.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.151, allocations: 0 / 0.5129 GB, free: 7.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005152/1.152, allocations: 107.9 kB / 0.513 GB, free: 7.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.03004/1.182, allocations: 4.663 MB / 0.5175 GB, free: 2.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/1.182, allocations: 8.031 kB / 0.5176 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004161/1.186, allocations: 0.6225 MB / 0.5182 GB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/1.199, allocations: 0.9585 MB / 0.5191 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/1.219, allocations: 3.945 MB / 0.5229 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006898/1.22, allocations: 478.4 kB / 0.5234 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/1.222, allocations: 411.9 kB / 0.5238 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/1.241, allocations: 5.254 MB / 0.5289 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/1.241, allocations: 4 kB / 0.5289 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.242, allocations: 176 kB / 0.5291 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/1.243, allocations: 168.1 kB / 0.5293 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/1.259, allocations: 4.287 MB / 0.5334 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05275/1.311, allocations: 17.65 MB / 0.5507 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/1.325, allocations: 8.254 MB / 0.5587 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/1.34, allocations: 4.673 MB / 0.5633 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003612/1.343, allocations: 1.308 MB / 0.5646 GB, free: 116 kB / 410.7 MB Notification: Performance of pre-optimization done (n=190): time 6.412e-06/1.343, allocations: 0 / 0.5646 GB, free: 116 kB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.3482/1.692, allocations: 9.343 MB / 0.5737 GB, free: 74.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.692, allocations: 344.9 kB / 0.574 GB, free: 74.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/1.697, allocations: 2.131 MB / 0.5761 GB, free: 74.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005164/1.697, allocations: 69.77 kB / 0.5762 GB, free: 74.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.699, allocations: 1.876 MB / 0.578 GB, free: 73.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.7, allocations: 0.7435 MB / 0.5787 GB, free: 73.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/1.701, allocations: 59.59 kB / 0.5788 GB, free: 73.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/1.701, allocations: 406.8 kB / 0.5792 GB, free: 72.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/1.704, allocations: 1.134 MB / 0.5803 GB, free: 72.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003602/1.708, allocations: 1.871 MB / 0.5821 GB, free: 72.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.711, allocations: 1.413 MB / 0.5835 GB, free: 72.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-05/1.711, allocations: 7.5 kB / 0.5835 GB, free: 72.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.01194/1.723, allocations: 4.219 MB / 0.5876 GB, free: 71.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00176/1.725, allocations: 7.809 MB / 0.5953 GB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/1.725, allocations: 21.91 kB / 0.5953 GB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/1.73, allocations: 1.065 MB / 0.5963 GB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/1.733, allocations: 485.2 kB / 0.5968 GB, free: 63.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0317/1.765, allocations: 15.05 MB / 0.6115 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005678/1.771, allocations: 169.2 kB / 0.6116 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007829/1.772, allocations: 113.8 kB / 0.6117 GB, free: 55.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.772, allocations: 3.5 kB / 0.6117 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01567/1.788, allocations: 3.913 MB / 0.6156 GB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.788, allocations: 23.66 kB / 0.6156 GB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/1.793, allocations: 1.069 MB / 0.6166 GB, free: 55.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004774/1.798, allocations: 484.3 kB / 0.6171 GB, free: 55.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03001/1.828, allocations: 15.02 MB / 0.6318 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/1.832, allocations: 169.9 kB / 0.6319 GB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/1.832, allocations: 107.7 kB / 0.632 GB, free: 45.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 262 * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003566/1.836, allocations: 1.341 MB / 0.6333 GB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008766/1.837, allocations: 277.2 kB / 0.6336 GB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.848, allocations: 3.523 MB / 0.637 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/1.849, allocations: 20.56 kB / 0.6371 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.849, allocations: 10.12 kB / 0.6371 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/1.849, allocations: 11.34 kB / 0.6371 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.87, allocations: 7.455 MB / 0.6444 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/1.87, allocations: 0 / 0.6444 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/1.873, allocations: 311.4 kB / 0.6447 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004587/1.877, allocations: 1.089 MB / 0.6457 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/1.878, allocations: 64.75 kB / 0.6458 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02977/1.908, allocations: 12.58 MB / 0.6581 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.908, allocations: 7.75 kB / 0.6581 GB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/1.926, allocations: 5.013 MB / 0.663 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/1.928, allocations: 0.614 MB / 0.6636 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008993/1.929, allocations: 62.52 kB / 0.6636 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.932, allocations: 136.3 kB / 0.6638 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000836/1.933, allocations: 242.1 kB / 0.664 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/1.933, allocations: 60.72 kB / 0.664 GB, free: 28.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003891/1.937, allocations: 1.628 MB / 0.6656 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.924e-06/1.937, allocations: 0 / 0.6656 GB, free: 27.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008415/1.946, allocations: 1.538 MB / 0.6671 GB, free: 27.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 60,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01414/1.96, allocations: 6.258 MB / 0.6732 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01657/1.976, allocations: 6.788 MB / 0.6799 GB, free: 17.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.976, allocations: 4 kB / 0.6799 GB, free: 17.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005479/1.982, allocations: 2.257 MB / 0.6821 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/1.987, allocations: 0.6152 MB / 0.6827 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07601/2.063, allocations: 36.91 MB / 0.7187 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005441/2.068, allocations: 2.911 MB / 0.7216 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006366/2.075, allocations: 0.6895 MB / 0.7222 GB, free: 8.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005341/2.08, allocations: 1.577 MB / 0.7238 GB, free: 6.652 MB / 442.7 MB Notification: Performance of SimCode: time 2.234e-06/2.08, allocations: 4 kB / 0.7238 GB, free: 6.648 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5424/2.623, allocations: 83.04 MB / 0.8049 GB, free: 86.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/2.623, allocations: 239.6 kB / 0.8051 GB, free: 86.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.277/8.9, allocations: 5.062 kB / 0.8051 GB, free: 86.55 MB / 442.7 MB