Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01279/0.01279, allocations: 97.11 kB / 15.73 MB, free: 5.988 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.002186/0.002186, allocations: 184.9 kB / 16.67 MB, free: 5.918 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.981/1.981, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.001305/0.001305, allocations: 49.39 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1328, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01419/0.1471, allocations: 10.13 MB / 383.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.1576, allocations: 3.28 MB / 386.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.1603, allocations: 51.75 kB / 386.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.1646, allocations: 0.6908 MB / 387.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005239/0.1699, allocations: 0.8386 MB / 388.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.1717, allocations: 419.4 kB / 388.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007187/0.1789, allocations: 2.973 MB / 391.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005142/0.1842, allocations: 2.437 MB / 394 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.188, allocations: 1.339 MB / 395.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004653/0.1927, allocations: 1.693 MB / 397 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.1944, allocations: 359.9 kB / 397.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.1967, allocations: 455.8 kB / 397.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.199, allocations: 1.025 MB / 398.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00331/0.2024, allocations: 1.606 MB / 400.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006056/0.2085, allocations: 4.69 MB / 405.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2085, allocations: 0 / 405.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2085, allocations: 0 / 405.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.2087, allocations: 0 / 405.1 MB, free: 1.172 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.007986/0.2167, allocations: 3.339 MB / 408.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.2167, allocations: 11.89 kB / 408.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.2178, allocations: 342.9 kB / 408.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.2212, allocations: 1.668 MB / 410.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.2214, allocations: 176.8 kB / 410.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004124/0.2219, allocations: 239.9 kB / 410.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006153/0.228, allocations: 3.133 MB / 414 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.061e-05/0.2281, allocations: 8 kB / 414 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.2284, allocations: 92 kB / 414.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.2285, allocations: 104.6 kB / 414.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00564/0.2342, allocations: 2.696 MB / 416.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.2525, allocations: 9.652 MB / 426.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.2555, allocations: 2.162 MB / 428.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.2576, allocations: 1.112 MB / 429.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.258, allocations: 207.2 kB / 430.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.258, allocations: 51.5 kB / 430.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.907e-06/0.258, allocations: 0 / 430.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01482/0.2729, allocations: 6.744 MB / 436.9 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.273, allocations: 68.66 kB / 436.9 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.2761, allocations: 1.747 MB / 438.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.2763, allocations: 49.7 kB / 438.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.2772, allocations: 1.182 MB / 439.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004587/0.2777, allocations: 480 kB / 440.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.2782, allocations: 283.4 kB / 440.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2783, allocations: 309.1 kB / 440.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.2796, allocations: 0.7925 MB / 441.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.2812, allocations: 1.206 MB / 442.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.2841, allocations: 2.095 MB / 445 MB, free: 7.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.2842, allocations: 0 / 445 MB, free: 7.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004685/0.2889, allocations: 2.683 MB / 447.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2889, allocations: 11.98 kB / 447.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.2889, allocations: 12 kB / 447.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.29, allocations: 415.5 kB / 448.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.2913, allocations: 363.4 kB / 448.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3365/0.6278, allocations: 7.059 MB / 455.6 MB, free: 67.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.6301, allocations: 109.3 kB / 455.7 MB, free: 67.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.6303, allocations: 62.62 kB / 455.7 MB, free: 67.13 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.002022/0.6324, allocations: 0.7986 MB / 456.5 MB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000594/0.633, allocations: 193.4 kB / 456.7 MB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/0.638, allocations: 2.364 MB / 459.1 MB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/0.638, allocations: 20.48 kB / 459.1 MB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.6381, allocations: 4.312 kB / 459.1 MB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.6381, allocations: 6.703 kB / 459.1 MB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.6514, allocations: 5.105 MB / 464.2 MB, free: 64.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.6515, allocations: 6.656 kB / 464.2 MB, free: 64.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.6527, allocations: 238 kB / 464.5 MB, free: 64.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.6543, allocations: 453.8 kB / 464.9 MB, free: 63.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.6544, allocations: 37.05 kB / 464.9 MB, free: 63.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00843/0.6628, allocations: 8.638 MB / 473.6 MB, free: 57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.6629, allocations: 5.125 kB / 473.6 MB, free: 57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/0.6698, allocations: 3.533 MB / 477.1 MB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.6715, allocations: 448.2 kB / 477.6 MB, free: 55.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/0.6719, allocations: 31.78 kB / 477.6 MB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6729, allocations: 87.23 kB / 477.7 MB, free: 55.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.6733, allocations: 119.1 kB / 477.8 MB, free: 54.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-05/0.6733, allocations: 45.33 kB / 477.8 MB, free: 54.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.6752, allocations: 1.197 MB / 479 MB, free: 54.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6752, allocations: 1.094 kB / 479 MB, free: 54.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002973/0.6782, allocations: 0.5018 MB / 479.5 MB, free: 54.3 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.0006369/0.6788, allocations: 205.8 kB / 479.7 MB, free: 54.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.6828, allocations: 2.465 MB / 482.2 MB, free: 52.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.6828, allocations: 3.781 kB / 482.2 MB, free: 52.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002257/0.6851, allocations: 1.619 MB / 483.8 MB, free: 51.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.6877, allocations: 478.9 kB / 484.3 MB, free: 51.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008685/0.6964, allocations: 5.098 MB / 489.4 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.6981, allocations: 1.993 MB / 491.4 MB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001524/0.6996, allocations: 443.5 kB / 491.8 MB, free: 43.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.7, allocations: 127.4 kB / 491.9 MB, free: 43.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7, allocations: 4 kB / 491.9 MB, free: 43.36 MB / 382.1 MB Notification: Performance of Templates: time 0.04839/0.7484, allocations: 28.24 MB / 0.508 GB, free: 15.1 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)