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.00106/0.00106, allocations: 94.48 kB / 16.65 MB, free: 6.586 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.0009612/0.0009616, allocations: 187.3 kB / 17.57 MB, free: 6.199 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.789/1.789, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0008144/0.0008144, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1314, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.0121/0.1436, allocations: 9.517 MB / 337.8 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.1521, allocations: 3.226 MB / 341.1 MB, free: 6.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.1548, allocations: 47.75 kB / 341.1 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.1576, allocations: 0.5982 MB / 341.7 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.1618, allocations: 0.7616 MB / 342.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1636, allocations: 363.6 kB / 342.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006296/0.1699, allocations: 3.378 MB / 346.2 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.1742, allocations: 2.056 MB / 348.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.1767, allocations: 1.007 MB / 349.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.1801, allocations: 1.439 MB / 350.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.1813, allocations: 148 kB / 350.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.1834, allocations: 259.8 kB / 351.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001591/0.185, allocations: 0.7747 MB / 351.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002655/0.1877, allocations: 1.365 MB / 353.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005685/0.1934, allocations: 4.364 MB / 357.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1935, allocations: 4 kB / 357.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.1935, allocations: 0 / 357.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002071/0.1937, allocations: 0 / 357.6 MB, free: 6.277 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.007525/0.2012, allocations: 2.777 MB / 360.4 MB, free: 3.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.2013, allocations: 8.031 kB / 360.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.2031, allocations: 333.2 kB / 360.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.2072, allocations: 1.624 MB / 362.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.2075, allocations: 192.9 kB / 362.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/0.208, allocations: 231.9 kB / 362.8 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/0.2151, allocations: 3.156 MB / 365.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.2152, allocations: 4 kB / 365.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.2154, allocations: 92 kB / 366 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.2156, allocations: 112.5 kB / 366.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006029/0.2216, allocations: 2.711 MB / 368.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01971/0.2414, allocations: 9.801 MB / 378.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2328/0.4742, allocations: 2.172 MB / 380.8 MB, free: 49.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.4768, allocations: 1.13 MB / 381.9 MB, free: 49.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.4771, allocations: 206.5 kB / 382.1 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.4772, allocations: 48.94 kB / 382.2 MB, free: 49.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.567e-06/0.4772, allocations: 0 / 382.2 MB, free: 49.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01563/0.4928, allocations: 6.823 MB / 389 MB, free: 46.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.493, allocations: 69.78 kB / 389.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.4965, allocations: 1.743 MB / 390.8 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003295/0.4968, allocations: 49.58 kB / 390.9 MB, free: 45.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.498, allocations: 1.156 MB / 392 MB, free: 45.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007057/0.4988, allocations: 453 kB / 392.5 MB, free: 44.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.499, allocations: 130.6 kB / 392.6 MB, free: 44.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.4991, allocations: 305.1 kB / 392.9 MB, free: 44.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.5007, allocations: 0.8033 MB / 393.7 MB, free: 44.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.5027, allocations: 1.213 MB / 394.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/0.5059, allocations: 2.126 MB / 397 MB, free: 42.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.506, allocations: 7.906 kB / 397 MB, free: 42.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005232/0.5112, allocations: 2.687 MB / 399.7 MB, free: 40.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.449e-05/0.5113, allocations: 14.03 kB / 399.7 MB, free: 40.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.5113, allocations: 16.09 kB / 399.8 MB, free: 40.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009061/0.5122, allocations: 422.3 kB / 400.2 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.5136, allocations: 365.4 kB / 400.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005394/0.519, allocations: 6.49 MB / 407 MB, free: 34.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.5208, allocations: 112.6 kB / 407.1 MB, free: 34.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.521, allocations: 64 kB / 407.2 MB, free: 34.25 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.001494/0.5225, allocations: 0.7978 MB / 408 MB, free: 33.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.5229, allocations: 189 kB / 408.2 MB, free: 33.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003556/0.5265, allocations: 2.396 MB / 410.6 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5265, allocations: 12 kB / 410.6 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5265, allocations: 4 kB / 410.6 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5265, allocations: 11.91 kB / 410.6 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007551/0.5341, allocations: 5.15 MB / 415.7 MB, free: 25.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5342, allocations: 8.641 kB / 415.8 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.5351, allocations: 244.1 kB / 416 MB, free: 25.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.5361, allocations: 451.2 kB / 416.4 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.5362, allocations: 35.98 kB / 416.5 MB, free: 24.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.5424, allocations: 7.941 MB / 424.4 MB, free: 16.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5425, allocations: 7.938 kB / 424.4 MB, free: 16.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005224/0.5477, allocations: 3.564 MB / 428 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.5489, allocations: 442.6 kB / 428.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.5492, allocations: 32 kB / 428.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.5502, allocations: 99.89 kB / 428.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/0.5505, allocations: 116.7 kB / 428.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.5506, allocations: 39.98 kB / 428.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001732/0.5524, allocations: 1.198 MB / 429.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5524, allocations: 0 / 429.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001976/0.5544, allocations: 0.5027 MB / 430.4 MB, free: 10.25 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.0004294/0.5548, allocations: 205.6 kB / 430.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003611/0.5584, allocations: 2.468 MB / 433.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5585, allocations: 0 / 433.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.5607, allocations: 1.634 MB / 434.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.5641, allocations: 454.3 kB / 435.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.5725, allocations: 6.215 MB / 441.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.5748, allocations: 2.012 MB / 443.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002104/0.577, allocations: 435.5 kB / 443.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.5775, allocations: 127.4 kB / 443.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.687e-06/0.5775, allocations: 0 / 443.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Templates: time 0.05413/0.6317, allocations: 26.18 MB / 470.1 MB, free: 2.309 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)