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.001711/0.001711, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.44/1.44, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001454/0.001454, allocations: 124.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.805e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09836, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.3999, allocations: 93.9 MB / 443.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4001, allocations: 81.33 kB / 443.4 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.077/0.4771, allocations: 28.6 MB / 472 MB, free: 9.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4772, allocations: 0 / 472 MB, free: 9.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.203e-05/0.4773, allocations: 24 kB / 472.1 MB, free: 9.594 MB / 330.7 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.002458/0.4797, allocations: 1.131 MB / 473.2 MB, free: 8.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4798, allocations: 12.69 kB / 473.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.4808, allocations: 186.3 kB / 473.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.4829, allocations: 0.8008 MB / 474.2 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.863e-05/0.483, allocations: 77.56 kB / 474.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.4833, allocations: 98.84 kB / 474.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4857, allocations: 0.9064 MB / 475.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.4858, allocations: 0 / 475.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.4859, allocations: 37.56 kB / 475.3 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.486, allocations: 24 kB / 475.3 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.4879, allocations: 0.6013 MB / 475.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009018/0.497, allocations: 3.946 MB / 479.9 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4981, allocations: 445.6 kB / 480.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.4989, allocations: 249.7 kB / 480.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-05/0.499, allocations: 4 kB / 480.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.4991, allocations: 37.81 kB / 480.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 5.08e-06/0.4991, allocations: 0 / 480.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.003932/0.5031, allocations: 1.222 MB / 481.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5032, allocations: 85.55 kB / 481.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.505, allocations: 0.6953 MB / 482.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.5051, allocations: 31.02 kB / 482.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000627/0.5058, allocations: 0.572 MB / 483.2 MB, free: 408 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.506, allocations: 169.6 kB / 483.4 MB, free: 236 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.506, allocations: 12 kB / 483.4 MB, free: 224 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.5063, allocations: 337.9 kB / 483.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.5068, allocations: 153.6 kB / 483.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.5076, allocations: 450.3 kB / 484.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.5083, allocations: 237.5 kB / 484.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5083, allocations: 7.938 kB / 484.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002404/0.5108, allocations: 0.7662 MB / 485.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.5108, allocations: 12 kB / 485.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.5109, allocations: 8 kB / 485.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.5114, allocations: 97.95 kB / 485.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.5125, allocations: 163.7 kB / 485.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.5168, allocations: 3.005 MB / 488.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5179, allocations: 40.05 kB / 488.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.518, allocations: 40 kB / 488.7 MB, free: 10.51 MB / 346.7 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.0002275/0.5182, allocations: 148.7 kB / 488.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.5185, allocations: 94.83 kB / 488.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.5202, allocations: 0.4986 MB / 489.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5203, allocations: 8 kB / 489.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5203, allocations: 0 / 489.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.5203, allocations: 0 / 489.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.5244, allocations: 1.458 MB / 490.9 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5244, allocations: 0 / 490.9 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/0.5251, allocations: 79.89 kB / 490.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.5256, allocations: 85.89 kB / 491 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.5257, allocations: 12 kB / 491 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.5298, allocations: 2.978 MB / 494 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.5299, allocations: 3.938 kB / 494 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.532, allocations: 0.8717 MB / 494.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/0.5326, allocations: 196.1 kB / 495.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.5328, allocations: 19.92 kB / 495.1 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.5336, allocations: 35.98 kB / 495.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5337, allocations: 35.73 kB / 495.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.5338, allocations: 19.98 kB / 495.2 MB, free: 3.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.5351, allocations: 0.5304 MB / 495.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5351, allocations: 4 kB / 495.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001644/0.5368, allocations: 255.9 kB / 496 MB, free: 2.703 MB / 346.7 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.0006522/0.5374, allocations: 295.5 kB / 496.3 MB, free: 2.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.5393, allocations: 0.6877 MB / 496.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5393, allocations: 0 / 496.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.5404, allocations: 453.5 kB / 497.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.542, allocations: 205.8 kB / 497.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.546, allocations: 1.283 MB / 498.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/0.5469, allocations: 1.036 MB / 499.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009004/0.5478, allocations: 111.4 kB / 0.4883 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.5481, allocations: 59.38 kB / 0.4884 GB, free: 14.46 MB / 362.7 MB Notification: Performance of SimCode: time 4.127e-06/0.5481, allocations: 0 / 0.4884 GB, free: 14.46 MB / 362.7 MB Notification: Performance of Templates: time 0.03971/0.5878, allocations: 12.45 MB / 0.5005 GB, free: 1.996 MB / 362.7 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)