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.001343/0.001344, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.00112/0.00112, allocations: 198.8 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 1.871/1.871, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001461/0.001461, allocations: 51.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1479, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.309/0.457, allocations: 7.932 MB / 382.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00681/0.4639, allocations: 2.634 MB / 385.1 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.4659, allocations: 24.28 kB / 385.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.4691, allocations: 0.5596 MB / 385.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.4726, allocations: 448.6 kB / 386.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.4736, allocations: 238.8 kB / 386.3 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.4764, allocations: 1.435 MB / 387.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.4777, allocations: 0.5862 MB / 388.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.4793, allocations: 0.5298 MB / 388.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009965/0.4803, allocations: 0.5836 MB / 389.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.4806, allocations: 140 kB / 389.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.4812, allocations: 172.4 kB / 389.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.4814, allocations: 272.2 kB / 390 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007954/0.4823, allocations: 0.6565 MB / 390.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.4856, allocations: 1.69 MB / 392.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.4857, allocations: 0 / 392.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4857, allocations: 1.406 kB / 392.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.109e-05/0.4858, allocations: 0 / 392.4 MB, free: 4.281 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.003804/0.4896, allocations: 1.431 MB / 393.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.4897, allocations: 9.188 kB / 393.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007472/0.4904, allocations: 171.6 kB / 394 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.4921, allocations: 0.7273 MB / 394.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.4921, allocations: 80.7 kB / 394.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.4923, allocations: 99.16 kB / 394.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.4942, allocations: 0.9204 MB / 395.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.4942, allocations: 2.016 kB / 395.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/0.4943, allocations: 40.97 kB / 395.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.4944, allocations: 26.16 kB / 395.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.4957, allocations: 0.6249 MB / 396.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.5019, allocations: 3.866 MB / 400.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.5027, allocations: 357.9 kB / 400.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.503, allocations: 148.3 kB / 400.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.5031, allocations: 4.281 kB / 400.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.5031, allocations: 35.88 kB / 400.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.306e-06/0.5031, allocations: 0.9688 kB / 400.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002998/0.5061, allocations: 1.188 MB / 402.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.5062, allocations: 85.23 kB / 402.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.5079, allocations: 0.8251 MB / 403 MB, free: 13.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.508, allocations: 34.92 kB / 403 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.5086, allocations: 0.5642 MB / 403.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5088, allocations: 127.9 kB / 403.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.5091, allocations: 125.5 kB / 403.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5093, allocations: 332.8 kB / 404.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.5098, allocations: 150.8 kB / 404.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.5107, allocations: 460.5 kB / 404.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.512, allocations: 0.6388 MB / 405.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.512, allocations: 4.406 kB / 405.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002159/0.5142, allocations: 0.6884 MB / 406.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.5143, allocations: 10.81 kB / 406.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.057e-05/0.5144, allocations: 9.688 kB / 406.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.5146, allocations: 36.41 kB / 406.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.5153, allocations: 168.6 kB / 406.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.5168, allocations: 1.385 MB / 407.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.5178, allocations: 37.64 kB / 407.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.5179, allocations: 32.94 kB / 407.8 MB, free: 9.586 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.0006133/0.5185, allocations: 255.3 kB / 408 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.5187, allocations: 95.5 kB / 408.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.5195, allocations: 372.6 kB / 408.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5196, allocations: 3.719 kB / 408.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5196, allocations: 1.25 kB / 408.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5196, allocations: 0 / 408.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.5221, allocations: 1.272 MB / 409.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5221, allocations: 3.219 kB / 409.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.5225, allocations: 82.3 kB / 409.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.5226, allocations: 20.73 kB / 409.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.5227, allocations: 12.02 kB / 409.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.524, allocations: 1.364 MB / 411.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.524, allocations: 5.344 kB / 411.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5253, allocations: 0.6337 MB / 411.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.5257, allocations: 187.8 kB / 412 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.5258, allocations: 16.98 kB / 412.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.5262, allocations: 24.2 kB / 412.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.5263, allocations: 28.31 kB / 412.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.5264, allocations: 12.28 kB / 412.1 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.5274, allocations: 0.5607 MB / 412.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5274, allocations: 0 / 412.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001089/0.5285, allocations: 188.4 kB / 412.9 MB, free: 5.652 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.0003331/0.5288, allocations: 125.4 kB / 413 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.5302, allocations: 0.5068 MB / 413.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5303, allocations: 1.531 kB / 413.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.5308, allocations: 267.6 kB / 413.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.532, allocations: 214.4 kB / 414 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5355, allocations: 1.69 MB / 415.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.5362, allocations: 0.9994 MB / 416.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004076/0.5366, allocations: 97.45 kB / 416.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5368, allocations: 58.06 kB / 416.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5368, allocations: 0 / 416.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Templates: time 0.02236/0.5591, allocations: 9.659 MB / 426.5 MB, free: 10.35 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)