Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001242/0.001242, allocations: 84.75 kB / 16.31 MB, free: 5.676 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.001211/0.001212, allocations: 181.4 kB / 17.21 MB, free: 5.59 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.743/1.743, allocations: 205.4 MB / 223.4 MB, free: 13.07 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.0006763/0.0006763, allocations: 12 kB / 280.2 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1463, allocations: 47.58 MB / 327.7 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01444/0.1608, allocations: 8.964 MB / 336.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008807/0.1696, allocations: 3.091 MB / 339.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.1719, allocations: 47.75 kB / 339.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.1743, allocations: 0.5552 MB / 340.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.1779, allocations: 0.7108 MB / 341.1 MB, free: 6.629 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1792, allocations: 267.6 kB / 341.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005334/0.1845, allocations: 3.035 MB / 344.4 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.1869, allocations: 1.615 MB / 346 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.1891, allocations: 0.9999 MB / 347 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.1912, allocations: 1.397 MB / 348.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.1916, allocations: 148 kB / 348.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.1923, allocations: 219.9 kB / 348.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008006/0.1931, allocations: 0.7748 MB / 349.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007957/0.1939, allocations: 0.5549 MB / 350.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003537/0.1974, allocations: 3.736 MB / 353.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1975, allocations: 3.938 kB / 353.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1975, allocations: 0 / 353.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.1976, allocations: 7.938 kB / 353.8 MB, free: 9.809 MB / 302.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.006145/0.2037, allocations: 2.785 MB / 356.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.2038, allocations: 12.03 kB / 356.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/0.2048, allocations: 332.3 kB / 357 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.2077, allocations: 1.581 MB / 358.5 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.2079, allocations: 180.7 kB / 358.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.2083, allocations: 235.9 kB / 359 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006264/0.2145, allocations: 3.129 MB / 362.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/0.2146, allocations: 11.89 kB / 362.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.2149, allocations: 92 kB / 362.2 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.215, allocations: 108.5 kB / 362.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.2201, allocations: 2.708 MB / 365 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.2397, allocations: 9.779 MB / 374.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.2429, allocations: 2.185 MB / 377 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.245, allocations: 1.135 MB / 378.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.2454, allocations: 207.2 kB / 378.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.4e-05/0.2455, allocations: 55.5 kB / 378.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.571e-06/0.2456, allocations: 0 / 378.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.2921/0.5377, allocations: 6.786 MB / 385.1 MB, free: 38.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.5378, allocations: 69.61 kB / 385.2 MB, free: 38.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004928/0.5427, allocations: 1.735 MB / 386.9 MB, free: 38.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/0.5431, allocations: 51.95 kB / 387 MB, free: 38.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.5447, allocations: 1.153 MB / 388.1 MB, free: 37.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/0.5453, allocations: 453.6 kB / 388.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.5454, allocations: 30.22 kB / 388.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5456, allocations: 365 kB / 389 MB, free: 37.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.5472, allocations: 0.8055 MB / 389.8 MB, free: 37.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.5491, allocations: 1.207 MB / 391 MB, free: 36.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.5507, allocations: 0.9727 MB / 392 MB, free: 36.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.5508, allocations: 2.75 kB / 392 MB, free: 36.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005009/0.5558, allocations: 2.679 MB / 394.6 MB, free: 36.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.5558, allocations: 18.11 kB / 394.7 MB, free: 36.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/0.5559, allocations: 12.38 kB / 394.7 MB, free: 36.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.5569, allocations: 419.5 kB / 395.1 MB, free: 36.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.5582, allocations: 367.1 kB / 395.4 MB, free: 36.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.5641, allocations: 6.49 MB / 401.9 MB, free: 31.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.5657, allocations: 110.2 kB / 402 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5659, allocations: 66.44 kB / 402.1 MB, free: 31.45 MB / 318.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[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 initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001505/0.5674, allocations: 0.7939 MB / 402.9 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.5677, allocations: 186.7 kB / 403.1 MB, free: 30.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.5712, allocations: 2.382 MB / 405.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5712, allocations: 15.34 kB / 405.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5713, allocations: 7.719 kB / 405.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5713, allocations: 7.547 kB / 405.5 MB, free: 29.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.5783, allocations: 5.144 MB / 410.6 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5783, allocations: 4 kB / 410.6 MB, free: 24.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.5792, allocations: 247.2 kB / 410.9 MB, free: 24.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009252/0.5801, allocations: 452.7 kB / 411.3 MB, free: 24.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.5802, allocations: 35.98 kB / 411.4 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/0.5859, allocations: 7.924 MB / 419.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5859, allocations: 4 kB / 419.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/0.5907, allocations: 3.552 MB / 422.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.5917, allocations: 438.7 kB / 423.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.592, allocations: 31.98 kB / 423.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/0.5928, allocations: 102 kB / 423.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.5931, allocations: 124 kB / 423.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.5932, allocations: 43.98 kB / 423.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001556/0.5948, allocations: 1.186 MB / 424.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5948, allocations: 0 / 424.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00189/0.5967, allocations: 0.4995 MB / 425.2 MB, free: 9.672 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003239/0.597, allocations: 165.7 kB / 425.4 MB, free: 9.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.6005, allocations: 2.466 MB / 427.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6005, allocations: 0 / 427.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.6026, allocations: 1.629 MB / 429.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.605, allocations: 460.2 kB / 430 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009273/0.6143, allocations: 5.933 MB / 435.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.6164, allocations: 2.005 MB / 437.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001853/0.6183, allocations: 441.5 kB / 438.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.6187, allocations: 127.4 kB / 438.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6188, allocations: 3.938 kB / 438.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Templates: time 0.04937/0.6681, allocations: 25.45 MB / 463.9 MB, free: 2.922 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)