Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001402/0.001402, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.231/1.231, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001591/0.001591, allocations: 109.8 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.054e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06025/0.06028, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.3321, allocations: 88.8 MB / 396.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.3323, allocations: 82.31 kB / 396.5 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07433/0.4067, allocations: 28.72 MB / 425.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4067, allocations: 0 / 425.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.369e-05/0.4068, allocations: 24 kB / 425.3 MB, free: 11.49 MB / 314.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.001791/0.4086, allocations: 1.143 MB / 426.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4086, allocations: 8.031 kB / 426.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.4093, allocations: 194.3 kB / 426.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.4107, allocations: 0.7996 MB / 427.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.4108, allocations: 74.31 kB / 427.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.4109, allocations: 103.5 kB / 427.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.4124, allocations: 0.8998 MB / 428.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.4124, allocations: 0 / 428.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.4125, allocations: 45 kB / 428.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.4125, allocations: 24 kB / 428.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4135, allocations: 0.5947 MB / 429.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.4187, allocations: 3.946 MB / 433.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.4194, allocations: 448.5 kB / 433.5 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.4199, allocations: 256.6 kB / 433.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.42, allocations: 4 kB / 433.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.42, allocations: 39.28 kB / 433.8 MB, free: 3.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/0.42, allocations: 7.938 kB / 433.8 MB, free: 3.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002303/0.4224, allocations: 1.217 MB / 435 MB, free: 2.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.4224, allocations: 85.48 kB / 435.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009414/0.4234, allocations: 0.7037 MB / 435.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.4234, allocations: 33.7 kB / 435.9 MB, free: 1.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.4238, allocations: 0.5682 MB / 436.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4239, allocations: 165.6 kB / 436.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.424, allocations: 16 kB / 436.6 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4241, allocations: 337.8 kB / 436.9 MB, free: 412 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.4243, allocations: 157.6 kB / 437.1 MB, free: 256 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.4248, allocations: 454 kB / 437.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.4252, allocations: 233.5 kB / 437.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4252, allocations: 4 kB / 437.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001207/0.4264, allocations: 0.7741 MB / 438.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4265, allocations: 12.12 kB / 438.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4265, allocations: 8 kB / 438.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.4268, allocations: 89.69 kB / 438.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.4273, allocations: 171.7 kB / 438.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.4299, allocations: 2.991 MB / 441.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.4306, allocations: 39.98 kB / 441.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.4306, allocations: 35.98 kB / 441.9 MB, free: 11.03 MB / 330.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.0001577/0.4308, allocations: 156.8 kB / 442 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4309, allocations: 86.88 kB / 442.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.4319, allocations: 0.4948 MB / 442.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4319, allocations: 4 kB / 442.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4319, allocations: 7.953 kB / 442.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4319, allocations: 7.984 kB / 442.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.4341, allocations: 1.451 MB / 444.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4341, allocations: 7.938 kB / 444.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.4345, allocations: 80.06 kB / 444.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.4347, allocations: 85.67 kB / 444.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.4348, allocations: 15.98 kB / 444.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.4371, allocations: 2.97 MB / 447.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4371, allocations: 4.031 kB / 447.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.4383, allocations: 0.8754 MB / 448.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.4387, allocations: 204 kB / 448.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/0.4388, allocations: 11.95 kB / 448.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.4392, allocations: 35.97 kB / 448.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4393, allocations: 39.89 kB / 448.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.4394, allocations: 16 kB / 448.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000749/0.4401, allocations: 0.5304 MB / 448.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4401, allocations: 0 / 448.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000922/0.4411, allocations: 248 kB / 449.2 MB, free: 3.223 MB / 330.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.0004956/0.4416, allocations: 290.9 kB / 449.5 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4427, allocations: 0.6919 MB / 450.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4427, allocations: 0 / 450.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.4433, allocations: 444.9 kB / 450.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.4442, allocations: 215.7 kB / 450.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.4469, allocations: 1.292 MB / 452.1 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.4477, allocations: 1.036 MB / 453.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.4482, allocations: 107.4 kB / 453.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4483, allocations: 55.44 kB / 453.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4483, allocations: 0 / 453.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of Templates: time 0.02211/0.4705, allocations: 12.44 MB / 465.7 MB, free: 2.531 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1)