Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001449/0.001449, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002188/0.002188, allocations: 198 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.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.001925/0.001925, allocations: 55.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4021, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01026/0.4124, allocations: 7.919 MB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005368/0.4178, allocations: 2.596 MB / 335.4 MB, free: 9.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.4195, allocations: 24.25 kB / 335.4 MB, free: 9.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.4214, allocations: 494 kB / 335.9 MB, free: 9.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.423, allocations: 393.2 kB / 336.3 MB, free: 8.656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.4235, allocations: 219.8 kB / 336.5 MB, free: 8.441 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.4253, allocations: 1.416 MB / 337.9 MB, free: 7.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009126/0.4263, allocations: 0.5885 MB / 338.5 MB, free: 6.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000922/0.4272, allocations: 0.5408 MB / 339 MB, free: 5.867 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.4278, allocations: 0.5794 MB / 339.6 MB, free: 5.285 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.428, allocations: 140 kB / 339.7 MB, free: 5.148 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.4283, allocations: 172 kB / 339.9 MB, free: 4.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.4285, allocations: 275 kB / 340.2 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.4291, allocations: 0.6454 MB / 340.8 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.4307, allocations: 1.682 MB / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4308, allocations: 0 / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4308, allocations: 0 / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.4308, allocations: 0 / 342.5 MB, free: 2.375 MB / 270.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.002369/0.4332, allocations: 1.425 MB / 343.9 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4332, allocations: 16.03 kB / 343.9 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.4338, allocations: 171.4 kB / 344.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.4348, allocations: 0.7144 MB / 344.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.4349, allocations: 70 kB / 344.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.435, allocations: 103.9 kB / 345 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.4367, allocations: 0.9268 MB / 345.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.4367, allocations: 4 kB / 345.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.4368, allocations: 36 kB / 346 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.4368, allocations: 24 kB / 346 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.438, allocations: 0.6246 MB / 346.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005113/0.4432, allocations: 3.913 MB / 350.5 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.4437, allocations: 347.7 kB / 350.9 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.444, allocations: 152.7 kB / 351 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.4441, allocations: 4 kB / 351 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4441, allocations: 34.56 kB / 351 MB, free: 9.422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.144e-06/0.4441, allocations: 0 / 351 MB, free: 9.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002548/0.4467, allocations: 1.2 MB / 352.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4467, allocations: 81.11 kB / 352.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4478, allocations: 0.8252 MB / 353.1 MB, free: 7.219 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4478, allocations: 33.7 kB / 353.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.4482, allocations: 0.5679 MB / 353.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.4483, allocations: 130.2 kB / 353.9 MB, free: 6.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.4485, allocations: 122.5 kB / 354 MB, free: 6.344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4487, allocations: 334 kB / 354.3 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.4489, allocations: 145.9 kB / 354.5 MB, free: 5.871 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.4495, allocations: 460 kB / 354.9 MB, free: 5.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008448/0.4503, allocations: 0.6468 MB / 355.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4503, allocations: 4 kB / 355.6 MB, free: 4.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00112/0.4515, allocations: 0.6882 MB / 356.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4515, allocations: 11.94 kB / 356.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4515, allocations: 12 kB / 356.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.4517, allocations: 33.33 kB / 356.3 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.4522, allocations: 159.7 kB / 356.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.4533, allocations: 1.386 MB / 357.8 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.4539, allocations: 35.98 kB / 357.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.4539, allocations: 32 kB / 357.9 MB, free: 1.98 MB / 286.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.0004275/0.4544, allocations: 265.6 kB / 358.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4545, allocations: 86.91 kB / 358.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.4552, allocations: 370.4 kB / 358.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4552, allocations: 4 kB / 358.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4553, allocations: 0 / 358.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4553, allocations: 7.984 kB / 358.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.4572, allocations: 1.265 MB / 359.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4572, allocations: 0 / 359.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.4575, allocations: 79.83 kB / 360 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.583e-05/0.4576, allocations: 24.78 kB / 360 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.4577, allocations: 16 kB / 360 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4588, allocations: 1.371 MB / 361.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4588, allocations: 3.984 kB / 361.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4598, allocations: 0.6348 MB / 362 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.4601, allocations: 184.2 kB / 362.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.4602, allocations: 8 kB / 362.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.4605, allocations: 31.92 kB / 362.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.4606, allocations: 31.89 kB / 362.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4607, allocations: 8 kB / 362.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007784/0.4614, allocations: 0.5615 MB / 362.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4614, allocations: 0 / 362.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007207/0.4622, allocations: 188 kB / 363 MB, free: 12.57 MB / 302.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.000209/0.4624, allocations: 123.1 kB / 363.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.4635, allocations: 0.5272 MB / 363.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4635, allocations: 0 / 363.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.4639, allocations: 267.3 kB / 363.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4651, allocations: 214.2 kB / 364.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.4682, allocations: 2.109 MB / 366.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.4689, allocations: 0.9923 MB / 367.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.4693, allocations: 102.9 kB / 367.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4695, allocations: 55.44 kB / 367.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4695, allocations: 0 / 367.4 MB, free: 8.082 MB / 302.1 MB Notification: Performance of Templates: time 0.02034/0.4898, allocations: 9.389 MB / 376.8 MB, free: 14.68 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)