Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.191/1.191, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001632/0.001632, allocations: 118 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.498e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07479/0.07482, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.3325, allocations: 93.24 MB / 435.8 MB, free: 2.93 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.3327, allocations: 80.52 kB / 435.9 MB, free: 2.891 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07107/0.4038, allocations: 28.2 MB / 464.1 MB, free: 12.01 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4038, allocations: 0 / 464.1 MB, free: 12.01 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.436e-05/0.4039, allocations: 24 kB / 464.1 MB, free: 11.99 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001748/0.4056, allocations: 1.13 MB / 465.2 MB, free: 10.88 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4057, allocations: 12.03 kB / 465.3 MB, free: 10.87 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.4064, allocations: 186.3 kB / 465.4 MB, free: 10.68 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.4077, allocations: 0.8064 MB / 466.2 MB, free: 10.01 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.4078, allocations: 32 kB / 466.3 MB, free: 9.98 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4079, allocations: 59.91 kB / 466.3 MB, free: 9.922 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009301/0.4088, allocations: 0.539 MB / 466.9 MB, free: 9.602 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.4101, allocations: 0.7574 MB / 467.6 MB, free: 9.039 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.4101, allocations: 4 kB / 467.6 MB, free: 9.035 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.4102, allocations: 3.984 kB / 467.6 MB, free: 9.031 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.4102, allocations: 24 kB / 467.7 MB, free: 9.008 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/0.4151, allocations: 3.766 MB / 471.4 MB, free: 5.828 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.4157, allocations: 417.8 kB / 471.8 MB, free: 5.527 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.4161, allocations: 243.8 kB / 472.1 MB, free: 5.352 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.4161, allocations: 4 kB / 472.1 MB, free: 5.348 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4162, allocations: 42.38 kB / 472.1 MB, free: 5.301 MB / 347.1 MB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/0.4162, allocations: 0 / 472.1 MB, free: 5.301 MB / 347.1 MB Notification: Performance of matching and sorting (n=48): time 0.001974/0.4182, allocations: 1.131 MB / 473.3 MB, free: 4.312 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4182, allocations: 85.5 kB / 473.3 MB, free: 4.211 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.4189, allocations: 0.5876 MB / 473.9 MB, free: 3.699 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.419, allocations: 29.7 kB / 474 MB, free: 3.664 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.4193, allocations: 0.5758 MB / 474.5 MB, free: 3.078 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.4194, allocations: 161.7 kB / 474.7 MB, free: 2.918 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.4195, allocations: 0 / 474.7 MB, free: 2.918 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4196, allocations: 390.7 kB / 475.1 MB, free: 2.527 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.4199, allocations: 141.6 kB / 475.2 MB, free: 2.387 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.4203, allocations: 436.3 kB / 475.6 MB, free: 1.828 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.4206, allocations: 216.6 kB / 475.8 MB, free: 1.613 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4206, allocations: 4 kB / 475.8 MB, free: 1.609 MB / 347.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001149/0.4218, allocations: 0.6691 MB / 476.5 MB, free: 0.9258 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4218, allocations: 14.19 kB / 476.5 MB, free: 0.9141 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4218, allocations: 12 kB / 476.5 MB, free: 0.9023 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.4221, allocations: 93.66 kB / 476.6 MB, free: 0.8047 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.4226, allocations: 163.7 kB / 476.8 MB, free: 0.6445 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.4248, allocations: 2.887 MB / 479.7 MB, free: 13.53 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.4253, allocations: 27.89 kB / 479.7 MB, free: 13.5 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.4254, allocations: 36 kB / 479.7 MB, free: 13.46 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.4256, allocations: 135 kB / 479.9 MB, free: 13.33 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.4257, allocations: 83.03 kB / 480 MB, free: 13.25 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008518/0.4266, allocations: 454 kB / 480.4 MB, free: 12.79 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.4266, allocations: 7.953 kB / 480.4 MB, free: 12.78 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4266, allocations: 7.938 kB / 480.4 MB, free: 12.77 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4266, allocations: 0 / 480.4 MB, free: 12.77 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.4285, allocations: 1.287 MB / 481.7 MB, free: 11.41 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4285, allocations: 0 / 481.7 MB, free: 11.41 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.4289, allocations: 83.89 kB / 481.8 MB, free: 11.32 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.4291, allocations: 81.89 kB / 481.9 MB, free: 11.24 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4292, allocations: 4 kB / 481.9 MB, free: 11.23 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.4313, allocations: 2.873 MB / 484.7 MB, free: 8.137 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4313, allocations: 4.031 kB / 484.7 MB, free: 8.133 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.4323, allocations: 0.821 MB / 485.6 MB, free: 7.219 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.4326, allocations: 200 kB / 485.8 MB, free: 7.004 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.759e-05/0.4327, allocations: 4 kB / 485.8 MB, free: 7 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.4331, allocations: 23.98 kB / 485.8 MB, free: 6.977 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.4332, allocations: 39.69 kB / 485.8 MB, free: 6.938 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.4332, allocations: 19.98 kB / 485.8 MB, free: 6.918 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.4338, allocations: 455.2 kB / 486.3 MB, free: 6.48 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4338, allocations: 0 / 486.3 MB, free: 6.48 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.4347, allocations: 196 kB / 486.5 MB, free: 6.289 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003614/0.4351, allocations: 260.1 kB / 486.7 MB, free: 6.031 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.436, allocations: 0.6426 MB / 487.4 MB, free: 5.371 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.436, allocations: 0 / 487.4 MB, free: 5.371 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.4365, allocations: 432.3 kB / 487.8 MB, free: 4.93 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.4373, allocations: 174.2 kB / 488 MB, free: 4.762 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4395, allocations: 1.254 MB / 489.2 MB, free: 3.457 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.4401, allocations: 1.036 MB / 490.3 MB, free: 2.395 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003995/0.4405, allocations: 94.89 kB / 490.4 MB, free: 2.297 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4406, allocations: 55.44 kB / 490.4 MB, free: 2.242 MB / 363.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4406, allocations: 4 kB / 490.4 MB, free: 2.238 MB / 363.1 MB Notification: Performance of Templates: time 0.01606/0.4567, allocations: 9.11 MB / 499.5 MB, free: 9.152 MB / 379.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1)