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.001304/0.001304, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0018/0.0018, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0005259/0.000526, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3184, allocations: 47.59 MB / 326.5 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01211/0.3306, allocations: 8.958 MB / 335.4 MB, free: 10.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.34, allocations: 3.089 MB / 338.5 MB, free: 7.398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.3429, allocations: 47.75 kB / 338.6 MB, free: 7.352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.3455, allocations: 0.5552 MB / 339.1 MB, free: 6.793 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.3493, allocations: 0.7187 MB / 339.9 MB, free: 6.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3507, allocations: 263.6 kB / 340.1 MB, free: 5.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004937/0.3557, allocations: 3.035 MB / 343.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.3586, allocations: 1.615 MB / 344.8 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.3608, allocations: 0.996 MB / 345.8 MB, free: 120 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.3634, allocations: 1.389 MB / 347.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.3642, allocations: 152 kB / 347.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3653, allocations: 227.9 kB / 347.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.3665, allocations: 0.7671 MB / 348.3 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.3677, allocations: 0.551 MB / 348.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.3722, allocations: 3.747 MB / 352.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3723, allocations: 0 / 352.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3723, allocations: 4 kB / 352.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.3725, allocations: 0 / 352.6 MB, free: 9.262 MB / 286.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.007151/0.3796, allocations: 2.793 MB / 355.4 MB, free: 6.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3797, allocations: 8.031 kB / 355.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.3812, allocations: 340.2 kB / 355.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.3848, allocations: 1.577 MB / 357.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.3851, allocations: 180.6 kB / 357.5 MB, free: 4.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007729/0.3858, allocations: 231.9 kB / 357.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006805/0.3927, allocations: 3.137 MB / 360.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.3928, allocations: 11.98 kB / 360.8 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.393, allocations: 92 kB / 360.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.3931, allocations: 108.5 kB / 361 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004983/0.3981, allocations: 2.704 MB / 363.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.4169, allocations: 9.786 MB / 373.5 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.4202, allocations: 2.173 MB / 375.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.4222, allocations: 1.136 MB / 376.8 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.4226, allocations: 211.2 kB / 377 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.4227, allocations: 43.56 kB / 377.1 MB, free: 20 kB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.026e-06/0.4227, allocations: 0 / 377.1 MB, free: 20 kB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.01433/0.437, allocations: 6.799 MB / 383.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4371, allocations: 64.72 kB / 384 MB, free: 8.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.4401, allocations: 1.735 MB / 385.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.4403, allocations: 53.69 kB / 385.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009273/0.4413, allocations: 1.148 MB / 386.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.4417, allocations: 457.5 kB / 387.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.4418, allocations: 36 kB / 387.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.442, allocations: 365.9 kB / 387.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4434, allocations: 0.8003 MB / 388.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.4451, allocations: 1.206 MB / 389.7 MB, free: 3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.4467, allocations: 0.9705 MB / 390.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4467, allocations: 8 kB / 390.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004757/0.4515, allocations: 2.678 MB / 393.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.4516, allocations: 12 kB / 393.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/0.4516, allocations: 15.95 kB / 393.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4526, allocations: 419.4 kB / 393.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.454, allocations: 371.4 kB / 394.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/0.4617, allocations: 6.483 MB / 400.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.4638, allocations: 107.9 kB / 400.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/0.4642, allocations: 60 kB / 400.8 MB, free: 7.43 MB / 334.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[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 (174): * Single equations (assignments): 170 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002384/0.4666, allocations: 0.8017 MB / 401.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/0.4672, allocations: 189.7 kB / 401.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.4724, allocations: 2.387 MB / 404.2 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4725, allocations: 12 kB / 404.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.4725, allocations: 8 kB / 404.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.4725, allocations: 11.92 kB / 404.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.4839, allocations: 5.141 MB / 409.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.484, allocations: 4 kB / 409.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4851, allocations: 240.1 kB / 409.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.4865, allocations: 455 kB / 410.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.4867, allocations: 35.98 kB / 410.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00976/0.4965, allocations: 7.932 MB / 418 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4965, allocations: 4 kB / 418 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/0.5036, allocations: 3.558 MB / 421.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.5048, allocations: 438.7 kB / 422 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006165/0.5055, allocations: 31.94 kB / 422.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.5068, allocations: 103.8 kB / 422.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/0.5071, allocations: 112.8 kB / 422.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.5073, allocations: 39.98 kB / 422.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002486/0.5098, allocations: 1.186 MB / 423.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5098, allocations: 4 kB / 423.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002475/0.5123, allocations: 0.504 MB / 424 MB, free: 15.41 MB / 366.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 (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%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004957/0.5128, allocations: 163.1 kB / 424.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004319/0.5171, allocations: 2.469 MB / 426.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.5171, allocations: 0 / 426.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/0.5198, allocations: 1.633 MB / 428.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.523, allocations: 462.1 kB / 428.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.5348, allocations: 5.928 MB / 434.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/0.5379, allocations: 2.001 MB / 436.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002173/0.5401, allocations: 443.5 kB / 437.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.5407, allocations: 131.3 kB / 437.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5407, allocations: 0 / 437.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of Templates: time 0.2805/0.8212, allocations: 25.44 MB / 462.6 MB, free: 103.9 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)