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.01241/0.01241, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.0029/0.0029, allocations: 190.4 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 2.042/2.042, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.95 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.121, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01205/0.1331, allocations: 10.14 MB / 383.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.1403, allocations: 3.272 MB / 386.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.1421, allocations: 51.75 kB / 386.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.1443, allocations: 0.7337 MB / 387.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.1484, allocations: 0.8699 MB / 388.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1494, allocations: 423.3 kB / 388.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003746/0.1532, allocations: 2.977 MB / 391.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.1559, allocations: 2.437 MB / 394.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.1581, allocations: 1.347 MB / 395.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.1606, allocations: 1.697 MB / 397.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.1612, allocations: 356 kB / 397.5 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009115/0.1621, allocations: 455.8 kB / 397.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.1631, allocations: 1.025 MB / 398.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.1648, allocations: 1.598 MB / 400.5 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.1696, allocations: 4.677 MB / 405.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1696, allocations: 0 / 405.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1696, allocations: 0 / 405.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.271e-05/0.1697, allocations: 0 / 405.2 MB, free: 1.07 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.007267/0.177, allocations: 3.264 MB / 408.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.177, allocations: 11.89 kB / 408.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.178, allocations: 329.2 kB / 408.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.181, allocations: 1.655 MB / 410.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.1812, allocations: 180.8 kB / 410.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/0.1816, allocations: 228 kB / 410.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005916/0.1876, allocations: 3.133 MB / 414 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.465e-05/0.1876, allocations: 11.84 kB / 414 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.1879, allocations: 92 kB / 414.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.188, allocations: 112.6 kB / 414.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/0.1925, allocations: 2.692 MB / 416.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.2079, allocations: 9.626 MB / 426.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.2107, allocations: 2.161 MB / 428.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.2125, allocations: 1.109 MB / 429.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.2128, allocations: 207.1 kB / 430 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.2129, allocations: 47.56 kB / 430 MB, free: 7.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.086e-06/0.2129, allocations: 0 / 430 MB, free: 7.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01561/0.2285, allocations: 6.709 MB / 436.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.2286, allocations: 64.72 kB / 436.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.2315, allocations: 1.75 MB / 438.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.98e-05/0.2316, allocations: 45.7 kB / 438.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000887/0.2325, allocations: 1.159 MB / 439.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.2329, allocations: 449.5 kB / 440.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.2334, allocations: 283.3 kB / 440.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2335, allocations: 309.1 kB / 440.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.2347, allocations: 0.7925 MB / 441.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.2362, allocations: 1.206 MB / 442.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.2391, allocations: 2.095 MB / 444.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2391, allocations: 0 / 444.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00457/0.2437, allocations: 2.67 MB / 447.6 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.2437, allocations: 8 kB / 447.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.2437, allocations: 12.34 kB / 447.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009618/0.2447, allocations: 427.1 kB / 448 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.246, allocations: 363.4 kB / 448.3 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3276/0.5736, allocations: 7.057 MB / 455.4 MB, free: 67.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.5758, allocations: 104.8 kB / 455.5 MB, free: 67.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.5761, allocations: 63 kB / 455.6 MB, free: 67.33 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.003066/0.5791, allocations: 0.7984 MB / 456.4 MB, free: 67.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009164/0.5801, allocations: 185.5 kB / 456.5 MB, free: 67.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/0.5861, allocations: 2.37 MB / 458.9 MB, free: 66.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.5861, allocations: 16.81 kB / 458.9 MB, free: 66.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.5862, allocations: 3.531 kB / 458.9 MB, free: 66.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.5862, allocations: 7.797 kB / 458.9 MB, free: 66.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.5982, allocations: 5.095 MB / 464 MB, free: 64.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.5983, allocations: 6.531 kB / 464 MB, free: 64.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.5994, allocations: 234.8 kB / 464.3 MB, free: 64.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.6006, allocations: 452.3 kB / 464.7 MB, free: 64.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6007, allocations: 41.59 kB / 464.8 MB, free: 64.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/0.6084, allocations: 8.637 MB / 473.4 MB, free: 57.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.6084, allocations: 7.375 kB / 473.4 MB, free: 57.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005663/0.6141, allocations: 3.523 MB / 476.9 MB, free: 55.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.6154, allocations: 439.8 kB / 477.4 MB, free: 55.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.6156, allocations: 27.84 kB / 477.4 MB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009408/0.6166, allocations: 91.3 kB / 477.5 MB, free: 55.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.617, allocations: 121.2 kB / 477.6 MB, free: 55.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/0.6171, allocations: 38.42 kB / 477.6 MB, free: 55.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.6189, allocations: 1.197 MB / 478.8 MB, free: 54.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6189, allocations: 0 / 478.8 MB, free: 54.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001997/0.6209, allocations: 0.5031 MB / 479.3 MB, free: 54.55 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.0003966/0.6213, allocations: 208.3 kB / 479.5 MB, free: 54.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00374/0.625, allocations: 2.462 MB / 482 MB, free: 53.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.6251, allocations: 0 / 482 MB, free: 53.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.6273, allocations: 1.622 MB / 483.6 MB, free: 51.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.6297, allocations: 478.7 kB / 484.1 MB, free: 51.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008571/0.6383, allocations: 5.007 MB / 489.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.6398, allocations: 2.001 MB / 491.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001423/0.6413, allocations: 443.5 kB / 491.5 MB, free: 43.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.6416, allocations: 135.3 kB / 491.7 MB, free: 43.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6416, allocations: 0 / 491.7 MB, free: 43.64 MB / 382.1 MB Notification: Performance of Templates: time 0.05134/0.693, allocations: 28.23 MB / 0.5077 GB, free: 15.38 MB / 382.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)