Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001263/0.001263, allocations: 179.4 kB / 16.38 MB, free: 5.766 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.255/1.255, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001484/0.001484, allocations: 114.8 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07834, allocations: 44.51 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.313, allocations: 93.19 MB / 448.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3132, allocations: 78.7 kB / 448.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07099/0.3842, allocations: 28.09 MB / 476.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3843, allocations: 4 kB / 476.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.31e-05/0.3843, allocations: 20.66 kB / 476.5 MB, free: 2.738 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001965/0.3863, allocations: 1.257 MB / 477.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3863, allocations: 8.031 kB / 477.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.3869, allocations: 182.4 kB / 477.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.3882, allocations: 0.808 MB / 478.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.3883, allocations: 74 kB / 478.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3884, allocations: 99.91 kB / 478.9 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3899, allocations: 0.9231 MB / 479.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.3899, allocations: 4 kB / 479.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.39, allocations: 40 kB / 479.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.39, allocations: 31.98 kB / 479.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3911, allocations: 0.6403 MB / 480.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.3959, allocations: 3.924 MB / 484.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.3965, allocations: 458.6 kB / 484.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3966, allocations: 4 kB / 484.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3966, allocations: 34.56 kB / 484.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/0.3966, allocations: 0 / 484.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.00261/0.3992, allocations: 1.451 MB / 486.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3993, allocations: 85.48 kB / 486.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.4002, allocations: 0.6995 MB / 487.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.4002, allocations: 29.7 kB / 487.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.4006, allocations: 0.5565 MB / 487.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4007, allocations: 173.5 kB / 487.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.4007, allocations: 16 kB / 487.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4009, allocations: 337.9 kB / 488.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.4012, allocations: 169.9 kB / 488.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.4017, allocations: 464.1 kB / 488.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4021, allocations: 244.7 kB / 489.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4021, allocations: 4 kB / 489.1 MB, free: 5.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001205/0.4033, allocations: 0.7778 MB / 489.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4033, allocations: 9.719 kB / 489.9 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.4034, allocations: 16 kB / 489.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.4036, allocations: 85.61 kB / 490 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.4041, allocations: 159.7 kB / 490.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.4064, allocations: 2.927 MB / 493.1 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.407, allocations: 43.95 kB / 493.1 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.4071, allocations: 36 kB / 493.2 MB, free: 1.113 MB / 362.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 () * Number of clocked 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005176/0.4076, allocations: 260.5 kB / 493.4 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.4077, allocations: 82.97 kB / 493.5 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009556/0.4087, allocations: 0.5027 MB / 494 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4087, allocations: 4 kB / 494 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4087, allocations: 0 / 494 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4087, allocations: 7.984 kB / 494 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.4108, allocations: 1.436 MB / 495.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.4108, allocations: 3.984 kB / 495.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.4112, allocations: 75.91 kB / 495.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.4114, allocations: 73.89 kB / 495.6 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.4114, allocations: 12 kB / 495.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.4136, allocations: 2.915 MB / 498.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4136, allocations: 7.938 kB / 498.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.4148, allocations: 0.8752 MB / 499.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.4151, allocations: 200.1 kB / 499.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.4152, allocations: 12 kB / 499.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.4156, allocations: 31.95 kB / 499.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.4157, allocations: 43.89 kB / 499.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4157, allocations: 12 kB / 499.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006862/0.4164, allocations: 0.5303 MB / 0.4885 GB, free: 9.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4164, allocations: 0 / 0.4885 GB, free: 9.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009165/0.4174, allocations: 251.9 kB / 0.4888 GB, free: 9.309 MB / 378.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 () * Number of clocked 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004117/0.4178, allocations: 295 kB / 0.489 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.4189, allocations: 0.7114 MB / 0.4897 GB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4189, allocations: 4 kB / 0.4897 GB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000606/0.4195, allocations: 458.1 kB / 0.4902 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.4204, allocations: 208.6 kB / 0.4904 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.4233, allocations: 2.101 MB / 0.4924 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.4239, allocations: 1.028 MB / 0.4934 GB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004357/0.4244, allocations: 107.3 kB / 0.4935 GB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.4245, allocations: 59.44 kB / 0.4936 GB, free: 4.234 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4245, allocations: 0 / 0.4936 GB, free: 4.234 MB / 378.7 MB Notification: Performance of Templates: time 0.01953/0.444, allocations: 11.86 MB / 0.5052 GB, free: 8.383 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1)