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.019/2.019, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003469, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.296, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump): time 0.02604/0.3221, allocations: 13.91 MB / 322.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3378, allocations: 5.427 MB / 327.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003684/0.3415, allocations: 87.62 kB / 328 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.3463, allocations: 0.9288 MB / 328.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007841/0.3541, allocations: 1.519 MB / 330.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.3588, allocations: 0.8146 MB / 331.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.3688, allocations: 3.616 MB / 334.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007236/0.3761, allocations: 2.726 MB / 337.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004263/0.3804, allocations: 1.642 MB / 339.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005114/0.3856, allocations: 1.969 MB / 341.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.3872, allocations: 256 kB / 341.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.3901, allocations: 431.8 kB / 341.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002386/0.3925, allocations: 0.985 MB / 342.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.3949, allocations: 0.9368 MB / 343.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.4069, allocations: 6.716 MB / 350.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.897e-05/0.407, allocations: 0 / 350.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.163e-06/0.407, allocations: 4 kB / 350.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.4073, allocations: 0 / 350.5 MB, free: 2.641 MB / 282.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.02214/0.4295, allocations: 4.831 MB / 355.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4295, allocations: 8.031 kB / 355.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002815/0.4324, allocations: 0.6224 MB / 356 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009225/0.4416, allocations: 1.033 MB / 357 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.452, allocations: 2.799 MB / 359.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007232/0.4528, allocations: 486.4 kB / 360.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.4546, allocations: 403.9 kB / 360.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.4741, allocations: 5.286 MB / 366 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.4743, allocations: 15.88 kB / 366 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/0.4757, allocations: 171.9 kB / 366.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002862/0.476, allocations: 172.1 kB / 366.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.493, allocations: 4.51 MB / 370.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05527/0.5483, allocations: 17.64 MB / 388.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/0.5665, allocations: 8.229 MB / 396.7 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02091/0.5875, allocations: 4.669 MB / 401.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005512/0.593, allocations: 1.312 MB / 402.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=190): time 7.904e-06/0.5931, allocations: 0 / 402.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=223): time 0.04838/0.6415, allocations: 9.758 MB / 412.4 MB, free: 2.523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002643/0.6418, allocations: 338.4 kB / 412.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2625/0.9044, allocations: 2.412 MB / 415.2 MB, free: 88.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005056/0.905, allocations: 72.44 kB / 415.3 MB, free: 88.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.9077, allocations: 1.882 MB / 417.1 MB, free: 87.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.909, allocations: 0.7455 MB / 417.9 MB, free: 87.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.9093, allocations: 50.81 kB / 417.9 MB, free: 87.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.9096, allocations: 411.5 kB / 418.3 MB, free: 86.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003461/0.9131, allocations: 1.144 MB / 419.5 MB, free: 86.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.9171, allocations: 1.897 MB / 421.4 MB, free: 84.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.9211, allocations: 1.428 MB / 422.8 MB, free: 84.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-05/0.9212, allocations: 7.781 kB / 422.8 MB, free: 84.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=335) (initialization): time 0.01347/0.9347, allocations: 4.254 MB / 427.1 MB, free: 82.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.9351, allocations: 0.6637 MB / 427.7 MB, free: 81.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.9352, allocations: 17.56 kB / 427.7 MB, free: 81.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004469/0.9397, allocations: 1.063 MB / 428.8 MB, free: 81.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/0.9434, allocations: 0.4902 MB / 429.3 MB, free: 81.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.9666, allocations: 15.02 MB / 444.3 MB, free: 68.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/0.9706, allocations: 170.3 kB / 444.5 MB, free: 68.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/0.9712, allocations: 108 kB / 444.6 MB, free: 68.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.9713, allocations: 8 kB / 444.6 MB, free: 68.66 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/0.9827, allocations: 3.95 MB / 448.5 MB, free: 64.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/0.9828, allocations: 20 kB / 448.6 MB, free: 64.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00415/0.987, allocations: 1.072 MB / 449.6 MB, free: 63.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.9907, allocations: 487.2 kB / 450.1 MB, free: 63.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03536/1.026, allocations: 15.02 MB / 465.1 MB, free: 47.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/1.032, allocations: 161 kB / 465.3 MB, free: 47.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007063/1.033, allocations: 108 kB / 465.4 MB, free: 47.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (272): * Single equations (assignments): 265 * 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.004563/1.037, allocations: 1.34 MB / 466.7 MB, free: 45.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009329/1.038, allocations: 284.6 kB / 467 MB, free: 45.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.05, allocations: 3.536 MB / 470.6 MB, free: 41.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/1.05, allocations: 20 kB / 470.6 MB, free: 41.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.05, allocations: 0 / 470.6 MB, free: 41.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.507e-05/1.05, allocations: 11.95 kB / 470.6 MB, free: 41.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/1.07, allocations: 7.462 MB / 478 MB, free: 34.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.056e-05/1.071, allocations: 0 / 478 MB, free: 34.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003563/1.074, allocations: 319.7 kB / 478.4 MB, free: 33.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006144/1.08, allocations: 1.091 MB / 479.4 MB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004961/1.081, allocations: 55.97 kB / 479.5 MB, free: 32.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03216/1.113, allocations: 12.6 MB / 492.1 MB, free: 19.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.113, allocations: 8 kB / 492.1 MB, free: 19.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.131, allocations: 4.926 MB / 497 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/1.134, allocations: 0.6108 MB / 497.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.135, allocations: 67.97 kB / 497.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004346/1.139, allocations: 123.9 kB / 497.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/1.141, allocations: 242 kB / 498.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004608/1.141, allocations: 63.97 kB / 498.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005649/1.147, allocations: 1.65 MB / 499.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.224e-06/1.147, allocations: 0 / 499.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.009874/1.157, allocations: 1.484 MB / 0.4895 GB, free: 10.44 MB / 346.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.excitation.electroMagneticConverter.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[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].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.01449/1.172, allocations: 5.574 MB / 0.495 GB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01802/1.19, allocations: 6.815 MB / 0.5016 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.19, allocations: 1.875 kB / 0.5016 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007013/1.197, allocations: 2.27 MB / 0.5038 GB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005389/1.202, allocations: 0.6098 MB / 0.5044 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09303/1.295, allocations: 24.6 MB / 0.5285 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008179/1.303, allocations: 2.902 MB / 0.5313 GB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007355/1.311, allocations: 0.7059 MB / 0.532 GB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005824/1.317, allocations: 1.577 MB / 0.5335 GB, free: 11.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/1.317, allocations: 3.938 kB / 0.5335 GB, free: 11.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5154/1.832, allocations: 78.54 MB / 0.6102 GB, free: 97.39 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.833, allocations: 239.8 kB / 0.6104 GB, free: 97.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.217/7.05, allocations: 0 / 0.6104 GB, free: 97.15 MB / 410.7 MB