Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001406/0.001406, allocations: 111 kB / 17.06 MB, free: 5.965 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.00175/0.001751, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.051/2.051, allocations: 205.1 MB / 223.9 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.001383/0.001383, allocations: 51.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1371, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.3305/0.4677, allocations: 7.923 MB / 382.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005881/0.4737, allocations: 2.629 MB / 385.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.475, allocations: 23.81 kB / 385.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.4771, allocations: 0.5521 MB / 385.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.479, allocations: 454.9 kB / 386.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.4796, allocations: 241.5 kB / 386.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.4816, allocations: 1.434 MB / 387.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009754/0.4826, allocations: 0.5902 MB / 388.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009842/0.4836, allocations: 0.5417 MB / 388.9 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.4845, allocations: 0.5839 MB / 389.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.4847, allocations: 139.3 kB / 389.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.4851, allocations: 172.7 kB / 389.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.4853, allocations: 268.7 kB / 390 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005959/0.4859, allocations: 0.6527 MB / 390.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.4883, allocations: 1.7 MB / 392.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.4883, allocations: 1.156 kB / 392.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4883, allocations: 0 / 392.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.4884, allocations: 0 / 392.4 MB, free: 4.258 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.002692/0.4911, allocations: 1.422 MB / 393.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4911, allocations: 14.72 kB / 393.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/0.4917, allocations: 166.4 kB / 394 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.493, allocations: 0.7358 MB / 394.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.4931, allocations: 67.75 kB / 394.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.4932, allocations: 103.8 kB / 394.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.495, allocations: 0.9211 MB / 395.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.4951, allocations: 7.594 kB / 395.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.4952, allocations: 36.69 kB / 395.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.4952, allocations: 23.53 kB / 395.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.4965, allocations: 0.6261 MB / 396.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.5019, allocations: 3.867 MB / 400.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.5026, allocations: 360 kB / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.5029, allocations: 148.7 kB / 400.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.5029, allocations: 3 kB / 400.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.503, allocations: 36.25 kB / 400.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.424e-06/0.503, allocations: 4 kB / 400.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00273/0.5057, allocations: 1.19 MB / 402.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.5058, allocations: 81.84 kB / 402.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.5073, allocations: 0.826 MB / 403 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.5074, allocations: 34.86 kB / 403 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.5078, allocations: 0.5637 MB / 403.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.508, allocations: 132.7 kB / 403.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.5082, allocations: 122.4 kB / 403.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5083, allocations: 335.4 kB / 404.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.5087, allocations: 152.3 kB / 404.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.5093, allocations: 450.8 kB / 404.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009871/0.5103, allocations: 0.6479 MB / 405.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.5103, allocations: 2.906 kB / 405.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001545/0.5118, allocations: 0.6888 MB / 406.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.5119, allocations: 10.22 kB / 406.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.5119, allocations: 14.44 kB / 406.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.5121, allocations: 39.19 kB / 406.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.5127, allocations: 156.5 kB / 406.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.5143, allocations: 1.392 MB / 407.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008476/0.5152, allocations: 38.23 kB / 407.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.5153, allocations: 32.47 kB / 407.8 MB, free: 9.562 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.000689/0.516, allocations: 260.3 kB / 408 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.5162, allocations: 86.66 kB / 408.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.5171, allocations: 368.7 kB / 408.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.5171, allocations: 8.141 kB / 408.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5172, allocations: 0 / 408.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.5172, allocations: 5.344 kB / 408.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.5196, allocations: 1.272 MB / 409.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5196, allocations: 1.469 kB / 409.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.5199, allocations: 79.27 kB / 409.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.086e-05/0.52, allocations: 16.3 kB / 409.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.5201, allocations: 12.25 kB / 409.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.5211, allocations: 1.368 MB / 411.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5212, allocations: 1.406 kB / 411.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.5225, allocations: 0.6344 MB / 411.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.5229, allocations: 187.4 kB / 412.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.523, allocations: 8.188 kB / 412.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.5234, allocations: 32.66 kB / 412.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5235, allocations: 31.81 kB / 412.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.5236, allocations: 9.938 kB / 412.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.5247, allocations: 0.5594 MB / 412.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5247, allocations: 0 / 412.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001071/0.5257, allocations: 188.4 kB / 412.9 MB, free: 5.637 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.0002862/0.526, allocations: 130.4 kB / 413 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.5272, allocations: 0.5029 MB / 413.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5272, allocations: 0 / 413.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.5277, allocations: 269.3 kB / 413.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5288, allocations: 217.3 kB / 414 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.532, allocations: 1.692 MB / 415.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/0.5329, allocations: 0.9924 MB / 416.7 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004325/0.5333, allocations: 105.4 kB / 416.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5335, allocations: 57.38 kB / 416.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5335, allocations: 1.812 kB / 416.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of Templates: time 0.02337/0.5569, allocations: 9.844 MB / 426.7 MB, free: 10.16 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)