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.001535/0.001536, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001886/0.001886, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.845/1.845, allocations: 205.1 MB / 223.7 MB, free: 12.35 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.00254/0.00254, allocations: 47.92 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1537, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.0147/0.1685, allocations: 10.13 MB / 336.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009208/0.1778, allocations: 3.28 MB / 340 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.1805, allocations: 51.75 kB / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.1834, allocations: 0.6947 MB / 340.8 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.1879, allocations: 0.8386 MB / 341.6 MB, free: 5.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.19, allocations: 415.4 kB / 342 MB, free: 4.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005873/0.1958, allocations: 2.965 MB / 345 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004462/0.2003, allocations: 2.437 MB / 347.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.2037, allocations: 1.328 MB / 348.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.2082, allocations: 1.705 MB / 350.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.2101, allocations: 352 kB / 350.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.2129, allocations: 459.8 kB / 351.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00275/0.2157, allocations: 1.013 MB / 352.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.2206, allocations: 1.61 MB / 353.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.2306, allocations: 4.623 MB / 358.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/0.2307, allocations: 0 / 358.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.2307, allocations: 0 / 358.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003823/0.2311, allocations: 0 / 358.5 MB, free: 4.406 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.01454/0.2457, allocations: 3.26 MB / 361.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.2457, allocations: 11.89 kB / 361.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.2477, allocations: 333.2 kB / 362.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.2528, allocations: 1.635 MB / 363.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.2531, allocations: 189 kB / 363.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.2541, allocations: 227.9 kB / 364.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.2642, allocations: 3.133 MB / 367.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/0.2645, allocations: 11.94 kB / 367.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008129/0.2653, allocations: 92 kB / 367.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.2655, allocations: 112.6 kB / 367.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/0.2739, allocations: 2.696 MB / 370.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2626/0.5365, allocations: 9.73 MB / 379.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.5395, allocations: 2.166 MB / 382.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.5414, allocations: 1.117 MB / 383.2 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.5417, allocations: 204.7 kB / 383.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.5418, allocations: 45.48 kB / 383.4 MB, free: 46.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.467e-06/0.5418, allocations: 0.8125 kB / 383.4 MB, free: 46.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01564/0.5574, allocations: 6.7 MB / 390.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5575, allocations: 64.53 kB / 390.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/0.56, allocations: 1.748 MB / 392 MB, free: 43.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.5601, allocations: 49.27 kB / 392 MB, free: 43.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.5609, allocations: 1.15 MB / 393.2 MB, free: 42.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.5612, allocations: 456.8 kB / 393.6 MB, free: 42.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.5616, allocations: 283.4 kB / 393.9 MB, free: 42.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.5617, allocations: 304.9 kB / 394.2 MB, free: 42.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.5629, allocations: 0.7881 MB / 395 MB, free: 41.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.5644, allocations: 1.203 MB / 396.2 MB, free: 41.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.5668, allocations: 2.098 MB / 398.3 MB, free: 39.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.5668, allocations: 3.188 kB / 398.3 MB, free: 39.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004206/0.571, allocations: 2.669 MB / 400.9 MB, free: 38.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.5711, allocations: 11.5 kB / 400.9 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.5711, allocations: 12.69 kB / 401 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009965/0.5721, allocations: 423.2 kB / 401.4 MB, free: 38.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5734, allocations: 372.4 kB / 401.7 MB, free: 38.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/0.5785, allocations: 7.059 MB / 408.8 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.5803, allocations: 107.8 kB / 408.9 MB, free: 31.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5805, allocations: 63.94 kB / 409 MB, free: 31.12 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[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.001518/0.582, allocations: 0.7994 MB / 409.8 MB, free: 30.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/0.5826, allocations: 184.7 kB / 409.9 MB, free: 30.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.5863, allocations: 2.373 MB / 412.3 MB, free: 27.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5863, allocations: 12 kB / 412.3 MB, free: 27.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.5863, allocations: 4 kB / 412.3 MB, free: 27.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.5863, allocations: 11.97 kB / 412.3 MB, free: 27.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008676/0.595, allocations: 5.122 MB / 417.5 MB, free: 22.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.595, allocations: 4.469 kB / 417.5 MB, free: 22.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/0.596, allocations: 235.7 kB / 417.7 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.597, allocations: 463.6 kB / 418.2 MB, free: 21.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5971, allocations: 39.97 kB / 418.2 MB, free: 21.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00595/0.6031, allocations: 8.629 MB / 426.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6031, allocations: 7.938 kB / 426.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.6077, allocations: 3.524 MB / 430.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.6086, allocations: 434.7 kB / 430.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/0.6091, allocations: 35.94 kB / 430.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6102, allocations: 83.89 kB / 430.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.6105, allocations: 120.7 kB / 431 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.6106, allocations: 47.98 kB / 431.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.6122, allocations: 1.194 MB / 432.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6122, allocations: 0 / 432.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001836/0.6141, allocations: 0.4995 MB / 432.8 MB, free: 6.539 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 (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.0003548/0.6144, allocations: 198.9 kB / 432.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.619, allocations: 3.102 MB / 436 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.619, allocations: 0 / 436 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.621, allocations: 1.612 MB / 437.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.6235, allocations: 488.2 kB / 438.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/0.6323, allocations: 5.055 MB / 443.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/0.6346, allocations: 2.008 MB / 445.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001763/0.6363, allocations: 439.5 kB / 445.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.6369, allocations: 135.3 kB / 445.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6369, allocations: 0 / 445.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of Templates: time 0.05518/0.6921, allocations: 27.75 MB / 473.5 MB, free: 13.57 MB / 366.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)