Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01044/0.01044, allocations: 105 kB / 15.73 MB, free: 6.055 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.001564/0.001565, allocations: 190.7 kB / 16.67 MB, free: 5.977 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.939/1.939, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001222/0.001222, allocations: 51.94 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.274/0.4123, allocations: 10.14 MB / 383.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.4195, allocations: 3.284 MB / 386.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.4219, allocations: 50.12 kB / 386.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.4243, allocations: 0.7018 MB / 387.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.4281, allocations: 0.8289 MB / 388.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.4295, allocations: 417.7 kB / 388.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004949/0.4344, allocations: 2.968 MB / 391.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.4384, allocations: 2.435 MB / 394 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.4416, allocations: 1.343 MB / 395.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.4453, allocations: 1.694 MB / 397 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008107/0.4462, allocations: 354.3 kB / 397.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.4478, allocations: 453.3 kB / 397.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.449, allocations: 1.023 MB / 398.8 MB, free: 172 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003342/0.4523, allocations: 1.608 MB / 400.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007874/0.4602, allocations: 4.686 MB / 405.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4603, allocations: 0 / 405.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4603, allocations: 1.406 kB / 405.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001705/0.4605, allocations: 0 / 405.1 MB, free: 12.27 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.01081/0.4713, allocations: 3.343 MB / 408.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/0.4714, allocations: 12.83 kB / 408.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.4729, allocations: 342.2 kB / 408.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.4768, allocations: 1.664 MB / 410.5 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.477, allocations: 184.2 kB / 410.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/0.4774, allocations: 236.1 kB / 410.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007911/0.4853, allocations: 3.139 MB / 414 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.4854, allocations: 0 / 414 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.4857, allocations: 96 kB / 414.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.4858, allocations: 104.6 kB / 414.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004952/0.4908, allocations: 2.7 MB / 416.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.5078, allocations: 9.644 MB / 426.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.5107, allocations: 2.166 MB / 428.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.5127, allocations: 1.112 MB / 429.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/0.5131, allocations: 212.1 kB / 430.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.5132, allocations: 43.56 kB / 430.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.597e-06/0.5132, allocations: 0 / 430.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01638/0.5296, allocations: 6.749 MB / 436.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.5297, allocations: 64.72 kB / 436.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/0.5338, allocations: 1.751 MB / 438.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.534, allocations: 45.7 kB / 438.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.5351, allocations: 1.182 MB / 439.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005195/0.5357, allocations: 480 kB / 440.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/0.5363, allocations: 287.4 kB / 440.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5364, allocations: 317.1 kB / 440.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.5379, allocations: 0.7886 MB / 441.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.5397, allocations: 1.202 MB / 442.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/0.5431, allocations: 2.098 MB / 445 MB, free: 6.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.5431, allocations: 4 kB / 445 MB, free: 6.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006028/0.5492, allocations: 2.675 MB / 447.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.5492, allocations: 8 kB / 447.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/0.5493, allocations: 12 kB / 447.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.5505, allocations: 423.5 kB / 448.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.552, allocations: 371.4 kB / 448.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007891/0.5599, allocations: 7.061 MB / 455.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.5622, allocations: 103.8 kB / 455.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/0.5626, allocations: 75.98 kB / 455.8 MB, free: 11.26 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.002392/0.565, allocations: 0.794 MB / 456.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007933/0.5658, allocations: 194.8 kB / 456.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004921/0.5707, allocations: 2.367 MB / 459.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.5708, allocations: 15.94 kB / 459.1 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.5708, allocations: 4 kB / 459.1 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.5708, allocations: 3.984 kB / 459.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5818, allocations: 5.106 MB / 464.2 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5818, allocations: 4 kB / 464.2 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5829, allocations: 239.6 kB / 464.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.5842, allocations: 451.2 kB / 464.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.5843, allocations: 31.98 kB / 464.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008896/0.5932, allocations: 8.646 MB / 473.6 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.5933, allocations: 7.984 kB / 473.6 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.5997, allocations: 3.534 MB / 477.1 MB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.6011, allocations: 443.8 kB / 477.6 MB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007509/0.6019, allocations: 28 kB / 477.6 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.6034, allocations: 91.89 kB / 477.7 MB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.6037, allocations: 120.7 kB / 477.8 MB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.6039, allocations: 39.98 kB / 477.8 MB, free: 4.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002691/0.6066, allocations: 1.194 MB / 479 MB, free: 3.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6066, allocations: 0 / 479 MB, free: 3.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003627/0.6102, allocations: 0.5116 MB / 479.5 MB, free: 2.59 MB / 398.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.0006661/0.6109, allocations: 198.9 kB / 479.7 MB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005021/0.616, allocations: 2.472 MB / 482.2 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.616, allocations: 0 / 482.2 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.619, allocations: 1.619 MB / 483.8 MB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/0.6228, allocations: 488.2 kB / 484.3 MB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.6345, allocations: 5.083 MB / 489.4 MB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003442/0.638, allocations: 2.005 MB / 491.4 MB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002383/0.6404, allocations: 439.5 kB / 491.8 MB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.6413, allocations: 131.4 kB / 491.9 MB, free: 5.938 MB / 414.1 MB Notification: Performance of SimCode: time 2.495e-06/0.6413, allocations: 0 / 491.9 MB, free: 5.938 MB / 414.1 MB Notification: Performance of Templates: time 0.0651/0.7064, allocations: 28.23 MB / 0.508 GB, free: 9.652 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)