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.001404/0.001404, allocations: 93.45 kB / 16.3 MB, free: 5.996 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.001995/0.001996, allocations: 182.2 kB / 17.2 MB, free: 5.914 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.955/1.955, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0004441/0.0004441, allocations: 12 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009259/0.1164, allocations: 8.234 MB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006063/0.1225, allocations: 3.17 MB / 339.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.1237, allocations: 47.75 kB / 339.1 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.1251, allocations: 0.5674 MB / 339.7 MB, free: 8.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.1272, allocations: 0.7166 MB / 340.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.128, allocations: 267.6 kB / 340.7 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.1309, allocations: 1.915 MB / 342.6 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.1331, allocations: 1.615 MB / 344.2 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.1349, allocations: 0.9262 MB / 345.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.1368, allocations: 1.202 MB / 346.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.1371, allocations: 148 kB / 346.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.1378, allocations: 215.9 kB / 346.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007598/0.1386, allocations: 0.7322 MB / 347.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.1392, allocations: 0.5511 MB / 348 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.1429, allocations: 3.693 MB / 351.7 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.143, allocations: 4 kB / 351.7 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.143, allocations: 4 kB / 351.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000137/0.1431, allocations: 3.938 kB / 351.7 MB, free: 11.99 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.006352/0.1495, allocations: 2.781 MB / 354.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1495, allocations: 8.031 kB / 354.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.1505, allocations: 336.3 kB / 354.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.1536, allocations: 1.585 MB / 356.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.1538, allocations: 184.6 kB / 356.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.1541, allocations: 231.9 kB / 356.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.1594, allocations: 3.11 MB / 359.9 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.499e-05/0.1594, allocations: 7.906 kB / 359.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.1597, allocations: 92 kB / 360 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.1598, allocations: 116.5 kB / 360.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.1645, allocations: 2.7 MB / 362.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.1804, allocations: 9.747 MB / 372.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.1831, allocations: 2.184 MB / 374.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.1834, allocations: 204.1 kB / 375 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1835, allocations: 47.56 kB / 375 MB, free: 3.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.785e-06/0.1835, allocations: 0 / 375 MB, free: 3.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.1922/0.3757, allocations: 6.921 MB / 381.9 MB, free: 49.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3757, allocations: 66.28 kB / 382 MB, free: 49.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.3784, allocations: 1.688 MB / 383.7 MB, free: 48.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3785, allocations: 50.42 kB / 383.7 MB, free: 48.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.3793, allocations: 1.151 MB / 384.9 MB, free: 47.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.3797, allocations: 453.5 kB / 385.3 MB, free: 47.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/0.3798, allocations: 34.31 kB / 385.4 MB, free: 47.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3799, allocations: 365.4 kB / 385.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3814, allocations: 0.8108 MB / 386.5 MB, free: 46.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.3829, allocations: 1.205 MB / 387.7 MB, free: 46.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3844, allocations: 0.9769 MB / 388.7 MB, free: 45.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3844, allocations: 6.719 kB / 388.7 MB, free: 45.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004446/0.3888, allocations: 2.673 MB / 391.4 MB, free: 44.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3889, allocations: 8.359 kB / 391.4 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.3889, allocations: 16.12 kB / 391.4 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008925/0.3898, allocations: 388.1 kB / 391.8 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.391, allocations: 379 kB / 392.2 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.396, allocations: 6.38 MB / 398.5 MB, free: 39.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.3973, allocations: 114.6 kB / 398.6 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.3974, allocations: 59.06 kB / 398.7 MB, free: 39.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (177): * Single equations (assignments): 173 * 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%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.3986, allocations: 0.8095 MB / 399.5 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.3989, allocations: 184.6 kB / 399.7 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.4022, allocations: 2.38 MB / 402.1 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.4022, allocations: 14.3 kB / 402.1 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4023, allocations: 9.125 kB / 402.1 MB, free: 37.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4023, allocations: 10.25 kB / 402.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.4091, allocations: 5.07 MB / 407.2 MB, free: 34.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4092, allocations: 4 kB / 407.2 MB, free: 34.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/0.4101, allocations: 244 kB / 407.4 MB, free: 34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008976/0.411, allocations: 430.1 kB / 407.8 MB, free: 33.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.4111, allocations: 31.98 kB / 407.9 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005609/0.4167, allocations: 7.876 MB / 415.7 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4167, allocations: 11.75 kB / 415.8 MB, free: 25.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.4212, allocations: 3.749 MB / 419.5 MB, free: 21.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009973/0.4222, allocations: 430.8 kB / 419.9 MB, free: 20.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.4225, allocations: 35.98 kB / 420 MB, free: 20.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.4233, allocations: 91.91 kB / 420.1 MB, free: 20.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.4235, allocations: 124.7 kB / 420.2 MB, free: 20.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.4236, allocations: 39.98 kB / 420.2 MB, free: 20.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.425, allocations: 1.155 MB / 421.4 MB, free: 19.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.425, allocations: 0 / 421.4 MB, free: 19.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001638/0.4267, allocations: 0.5025 MB / 421.9 MB, free: 18.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (117): * Single equations (assignments): 113 * 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%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000266/0.4269, allocations: 161.1 kB / 422 MB, free: 18.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.4301, allocations: 2.468 MB / 424.5 MB, free: 16.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4302, allocations: 0 / 424.5 MB, free: 16.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.4321, allocations: 1.607 MB / 426.1 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4338, allocations: 446.4 kB / 426.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/0.4409, allocations: 5.936 MB / 432.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.4421, allocations: 2.044 MB / 434.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.4433, allocations: 455.2 kB / 435 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.4436, allocations: 123.4 kB / 435.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4436, allocations: 2.297 kB / 435.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of Templates: time 0.04232/0.4859, allocations: 25.14 MB / 460.2 MB, free: 12.26 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: