Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007748/0.0007748, allocations: 100.2 kB / 299.8 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002109/0.0002106, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1965, allocations: 51.42 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.01412/0.2107, allocations: 20.79 MB / 432.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.221, allocations: 7.223 MB / 440.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.2243, allocations: 99.62 kB / 440.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.2263, allocations: 0.6794 MB / 440.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.2286, allocations: 0.7445 MB / 441.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.23, allocations: 0.7065 MB / 442.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003688/0.2337, allocations: 3.276 MB / 445.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.236, allocations: 1.712 MB / 447.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2374, allocations: 1.007 MB / 448.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2385, allocations: 1.146 MB / 449.4 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.2388, allocations: 160 kB / 449.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.2392, allocations: 196 kB / 449.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.2396, allocations: 469.7 kB / 450.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.2408, allocations: 1.373 MB / 451.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.2441, allocations: 4.223 MB / 455.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2441, allocations: 4 kB / 455.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2442, allocations: 0 / 455.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.777e-05/0.2442, allocations: 0 / 455.8 MB, free: 13.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.004081/0.2483, allocations: 2.587 MB / 458.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2484, allocations: 15.97 kB / 458.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/0.2492, allocations: 369.1 kB / 458.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.2512, allocations: 1.466 MB / 460.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.2514, allocations: 201.5 kB / 460.5 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.2517, allocations: 271.8 kB / 460.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.2559, allocations: 2.477 MB / 463.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.2559, allocations: 7.984 kB / 463.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.2561, allocations: 104 kB / 463.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.2562, allocations: 64 kB / 463.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.2593, allocations: 1.69 MB / 465.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.2719, allocations: 10.46 MB / 475.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.2736, allocations: 0.8862 MB / 476.4 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000961/0.2746, allocations: 0.523 MB / 476.9 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.2747, allocations: 12.94 kB / 477 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2747, allocations: 43.56 kB / 477 MB, free: 7.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.2747, allocations: 0 / 477 MB, free: 7.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=90): time 0.004665/0.2794, allocations: 2.787 MB / 479.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.2795, allocations: 115.8 kB / 479.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.2814, allocations: 1.561 MB / 481.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.2815, allocations: 41.7 kB / 481.5 MB, free: 3.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008235/0.2823, allocations: 1.292 MB / 482.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.2825, allocations: 335.3 kB / 483.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.2826, allocations: 32 kB / 483.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2827, allocations: 369.9 kB / 483.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008073/0.2836, allocations: 427.8 kB / 483.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.2848, allocations: 1.136 MB / 485.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.2869, allocations: 1.64 MB / 486.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.2869, allocations: 12 kB / 486.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.002815/0.2898, allocations: 1.719 MB / 488.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004963/0.2903, allocations: 0.7842 MB / 489.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.2903, allocations: 20 kB / 489.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.2905, allocations: 60.78 kB / 489.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.2917, allocations: 411.3 kB / 489.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009308/0.2927, allocations: 1.331 MB / 491 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2938, allocations: 103.9 kB / 491.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.2939, allocations: 84 kB / 491.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.2939, allocations: 7.938 kB / 491.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002298/0.2962, allocations: 1.469 MB / 492.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.2963, allocations: 24 kB / 492.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.2964, allocations: 53.56 kB / 492.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.2976, allocations: 399.3 kB / 493.2 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008501/0.2984, allocations: 1.323 MB / 494.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.2994, allocations: 79.83 kB / 494.6 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.12e-05/0.2995, allocations: 80 kB / 494.6 MB, free: 4.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 3 (switch.control,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008997/0.3005, allocations: 0.5668 MB / 495.2 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.3007, allocations: 177.8 kB / 495.4 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.3023, allocations: 0.9461 MB / 496.3 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.3024, allocations: 8 kB / 496.3 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.3024, allocations: 3.984 kB / 496.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.3024, allocations: 3.984 kB / 496.3 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.3067, allocations: 2.962 MB / 499.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3067, allocations: 8 kB / 499.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/0.3076, allocations: 200.2 kB / 499.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.3077, allocations: 28.84 kB / 499.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/0.3078, allocations: 24 kB / 499.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008398/0.3086, allocations: 1.288 MB / 0.4891 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.3086, allocations: 7.984 kB / 0.4891 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.311, allocations: 1.52 MB / 0.4906 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.3116, allocations: 322.8 kB / 0.4909 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.3118, allocations: 27.98 kB / 0.4909 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.3125, allocations: 67.95 kB / 0.491 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3127, allocations: 64.45 kB / 0.4911 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.3127, allocations: 32 kB / 0.4911 GB, free: 12.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.3143, allocations: 1.02 MB / 0.4921 GB, free: 11.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3143, allocations: 0 / 0.4921 GB, free: 11.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002287/0.3166, allocations: 0.7656 MB / 0.4928 GB, free: 10.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.la.i,coupling.flange_a.phi,dcdcInverter1.vDCFilter.y,dcdcInverter1.iMotFilter.y,dcdcInverter1.idealDcDc.deadTime.y,dcdcInverter1.idealDcDc.powerController.y,dcdcInverter1.vMotFilter.y,dcdcInverter1.iDCFilter.y,dcdcInverter2.vDCFilter.y,dcdcInverter2.iMotFilter.y,dcdcInverter2.idealDcDc.deadTime.y,dcdcInverter2.idealDcDc.powerController.y,dcdcInverter2.vMotFilter.y,dcdcInverter2.iDCFilter.y) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002848/0.3169, allocations: 153.3 kB / 0.493 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.3204, allocations: 2.073 MB / 0.495 GB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3204, allocations: 0 / 0.495 GB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008674/0.3213, allocations: 0.5428 MB / 0.4955 GB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.3238, allocations: 417.3 kB / 0.4959 GB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006403/0.3302, allocations: 5.136 MB / 0.501 GB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3313, allocations: 1.475 MB / 0.5024 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001104/0.3324, allocations: 246.4 kB / 0.5026 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.3326, allocations: 111.4 kB / 0.5027 GB, free: 116 kB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3327, allocations: 0 / 0.5027 GB, free: 116 kB / 378.7 MB Notification: Performance of Templates: time 0.183/0.5157, allocations: 18.74 MB / 0.521 GB, free: 79.08 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1)