Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01386/0.01386, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002732/0.002732, allocations: 191.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 47.94 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.3399/0.4639, allocations: 7.931 MB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006068/0.47, allocations: 2.625 MB / 383.7 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.4711, allocations: 28.38 kB / 383.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.4733, allocations: 0.5834 MB / 384.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.4751, allocations: 486 kB / 384.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.4759, allocations: 241.7 kB / 385 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.4781, allocations: 1.436 MB / 386.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4792, allocations: 0.5843 MB / 387.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.4804, allocations: 0.5449 MB / 387.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008972/0.4813, allocations: 0.585 MB / 388.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.4816, allocations: 134.8 kB / 388.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.4821, allocations: 177 kB / 388.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.4824, allocations: 269.1 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007887/0.4832, allocations: 0.6522 MB / 389.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.4867, allocations: 1.699 MB / 391.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4867, allocations: 0 / 391.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4867, allocations: 1.688 kB / 391.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.634e-05/0.4868, allocations: 0 / 391.1 MB, free: 4.203 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.004005/0.4908, allocations: 1.424 MB / 392.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/0.4909, allocations: 9.844 kB / 392.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.4917, allocations: 170.3 kB / 392.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.4935, allocations: 0.7278 MB / 393.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.4936, allocations: 76.03 kB / 393.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.4938, allocations: 99.5 kB / 393.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.496, allocations: 0.9203 MB / 394.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.496, allocations: 3.797 kB / 394.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.4961, allocations: 45.16 kB / 394.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.4962, allocations: 23.69 kB / 394.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.4978, allocations: 0.6262 MB / 395.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006595/0.5044, allocations: 3.869 MB / 399.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.5052, allocations: 349.5 kB / 399.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.5055, allocations: 154 kB / 399.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.5056, allocations: 4.062 kB / 399.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.5056, allocations: 37.03 kB / 399.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.5056, allocations: 0 / 399.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.003119/0.5088, allocations: 1.192 MB / 400.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.5089, allocations: 85.23 kB / 400.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.5105, allocations: 0.8249 MB / 401.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.5106, allocations: 31.02 kB / 401.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/0.5112, allocations: 0.5674 MB / 402.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.5113, allocations: 132.1 kB / 402.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.5116, allocations: 126.5 kB / 402.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5118, allocations: 332.7 kB / 402.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.5121, allocations: 151.4 kB / 403.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.5128, allocations: 454.8 kB / 403.5 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5139, allocations: 0.6443 MB / 404.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.514, allocations: 2.844 kB / 404.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001595/0.5156, allocations: 0.6925 MB / 404.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.5156, allocations: 9.5 kB / 404.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.5156, allocations: 10.56 kB / 404.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.5159, allocations: 35.61 kB / 404.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.5164, allocations: 160.7 kB / 405 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.5177, allocations: 1.393 MB / 406.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.5184, allocations: 38.02 kB / 406.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.5185, allocations: 32.28 kB / 406.5 MB, free: 9.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0005094/0.519, allocations: 255.1 kB / 406.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5192, allocations: 95.95 kB / 406.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.52, allocations: 368.6 kB / 407.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.52, allocations: 3.875 kB / 407.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.52, allocations: 1.562 kB / 407.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5201, allocations: 0 / 407.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.5225, allocations: 1.268 MB / 408.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5225, allocations: 2.938 kB / 408.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.5229, allocations: 78.8 kB / 408.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.523, allocations: 23.91 kB / 408.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.523, allocations: 9.031 kB / 408.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.5243, allocations: 1.367 MB / 410 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5243, allocations: 1.344 kB / 410 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5255, allocations: 0.6384 MB / 410.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.5258, allocations: 187.6 kB / 410.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/0.5259, allocations: 11.77 kB / 410.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.5263, allocations: 26.05 kB / 410.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.5264, allocations: 27 kB / 410.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.5265, allocations: 21.73 kB / 410.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.5275, allocations: 0.5552 MB / 411.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5275, allocations: 0.9062 kB / 411.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001023/0.5285, allocations: 188.2 kB / 411.6 MB, free: 5.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * 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.000273/0.5288, allocations: 121.4 kB / 411.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.53, allocations: 0.5073 MB / 412.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5301, allocations: 0 / 412.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.5305, allocations: 267.9 kB / 412.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5316, allocations: 230.4 kB / 412.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.5349, allocations: 1.687 MB / 414.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007058/0.5356, allocations: 0.9953 MB / 415.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004184/0.536, allocations: 101.5 kB / 415.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.5362, allocations: 52.41 kB / 415.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5362, allocations: 1.156 kB / 415.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Templates: time 0.02188/0.558, allocations: 9.658 MB / 425.2 MB, free: 10.28 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)