Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01166/0.01166, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001944/0.001944, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.951/1.951, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.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.001207/0.001207, allocations: 47.38 kB / 326.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, allocations: 46.64 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01283/0.1498, allocations: 10.13 MB / 383.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007881/0.1577, allocations: 3.276 MB / 386.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.1601, allocations: 47.75 kB / 386.6 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.1626, allocations: 0.7376 MB / 387.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.1665, allocations: 0.8738 MB / 388.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1679, allocations: 415.4 kB / 388.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004837/0.1727, allocations: 2.977 MB / 391.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004406/0.1772, allocations: 2.433 MB / 394.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.1805, allocations: 1.351 MB / 395.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.1842, allocations: 1.701 MB / 397.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.186, allocations: 352 kB / 397.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.1886, allocations: 459.8 kB / 397.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.1907, allocations: 1.013 MB / 398.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004368/0.1951, allocations: 1.606 MB / 400.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008813/0.204, allocations: 4.677 MB / 405.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.204, allocations: 3.938 kB / 405.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.204, allocations: 0 / 405.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002622/0.2043, allocations: 4 kB / 405.2 MB, free: 1.199 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01213/0.2165, allocations: 3.257 MB / 408.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2165, allocations: 11.89 kB / 408.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.2184, allocations: 333.2 kB / 408.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.2228, allocations: 1.659 MB / 410.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.223, allocations: 184.8 kB / 410.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009248/0.2239, allocations: 228 kB / 410.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008435/0.2324, allocations: 3.133 MB / 414 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.2325, allocations: 3.906 kB / 414 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005366/0.2331, allocations: 92 kB / 414.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.2332, allocations: 108.6 kB / 414.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006175/0.2394, allocations: 2.696 MB / 416.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.2602, allocations: 9.626 MB / 426.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.2636, allocations: 2.161 MB / 428.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.2659, allocations: 1.109 MB / 429.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.2663, allocations: 211.1 kB / 430 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.2664, allocations: 47.56 kB / 430.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.186e-06/0.2664, allocations: 4 kB / 430.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01873/0.2851, allocations: 6.705 MB / 436.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.2852, allocations: 64.72 kB / 436.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004812/0.2901, allocations: 1.754 MB / 438.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.2904, allocations: 45.7 kB / 438.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.2917, allocations: 1.159 MB / 439.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000738/0.2924, allocations: 449.5 kB / 440.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008128/0.2933, allocations: 283.3 kB / 440.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2934, allocations: 309.1 kB / 440.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.2951, allocations: 0.7925 MB / 441.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.2972, allocations: 1.198 MB / 442.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.3011, allocations: 2.098 MB / 444.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/0.3011, allocations: 4 kB / 444.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00565/0.3068, allocations: 2.667 MB / 447.6 MB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.3068, allocations: 8 kB / 447.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.3069, allocations: 16 kB / 447.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.3079, allocations: 419.5 kB / 448 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.3093, allocations: 367.4 kB / 448.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2779/0.5872, allocations: 7.059 MB / 455.4 MB, free: 67.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.5891, allocations: 104.3 kB / 455.5 MB, free: 67.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.5893, allocations: 66.56 kB / 455.6 MB, free: 67.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001666/0.591, allocations: 0.7904 MB / 456.4 MB, free: 67.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/0.5916, allocations: 188.6 kB / 456.5 MB, free: 67.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/0.596, allocations: 2.367 MB / 458.9 MB, free: 66.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.5961, allocations: 21.52 kB / 458.9 MB, free: 66.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5961, allocations: 3.312 kB / 458.9 MB, free: 66.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.5961, allocations: 7.219 kB / 458.9 MB, free: 66.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009654/0.6058, allocations: 5.091 MB / 464 MB, free: 64.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.6059, allocations: 6.125 kB / 464 MB, free: 64.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6069, allocations: 241.4 kB / 464.3 MB, free: 64.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.6081, allocations: 448.2 kB / 464.7 MB, free: 64.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6083, allocations: 36.66 kB / 464.8 MB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00705/0.6153, allocations: 8.639 MB / 473.4 MB, free: 57.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6154, allocations: 4.531 kB / 473.4 MB, free: 57.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.6206, allocations: 3.521 MB / 476.9 MB, free: 55.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.6218, allocations: 436 kB / 477.3 MB, free: 55.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.6221, allocations: 31.84 kB / 477.4 MB, free: 55.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.6232, allocations: 86.55 kB / 477.5 MB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.6235, allocations: 120.8 kB / 477.6 MB, free: 55.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/0.6236, allocations: 40.33 kB / 477.6 MB, free: 55.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.6252, allocations: 1.202 MB / 478.8 MB, free: 54.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.61e-07/0.6252, allocations: 3.719 kB / 478.8 MB, free: 54.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002145/0.6273, allocations: 0.5023 MB / 479.3 MB, free: 54.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,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.0004353/0.6278, allocations: 202.3 kB / 479.5 MB, free: 54.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.6313, allocations: 2.463 MB / 482 MB, free: 53.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.6314, allocations: 0 / 482 MB, free: 53.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.6335, allocations: 1.622 MB / 483.6 MB, free: 51.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.6358, allocations: 488.3 kB / 484.1 MB, free: 51.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/0.6432, allocations: 5.002 MB / 489.1 MB, free: 46.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.6451, allocations: 2.001 MB / 491.1 MB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001448/0.6466, allocations: 443.5 kB / 491.5 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.6471, allocations: 123.4 kB / 491.6 MB, free: 43.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6471, allocations: 0 / 491.6 MB, free: 43.74 MB / 382.1 MB Notification: Performance of Templates: time 0.04585/0.693, allocations: 28.24 MB / 0.5077 GB, free: 15.48 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)