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.0008536/0.0008534, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000943/0.000943, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004166/0.0004168, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01263/0.3175, allocations: 8.962 MB / 335.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008618/0.3261, allocations: 3.092 MB / 338.5 MB, free: 7.418 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.3286, allocations: 43.75 kB / 338.6 MB, free: 7.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.3307, allocations: 0.5591 MB / 339.1 MB, free: 6.812 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.3342, allocations: 0.7108 MB / 339.9 MB, free: 6.098 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3353, allocations: 263.6 kB / 340.1 MB, free: 5.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.3404, allocations: 3.035 MB / 343.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.343, allocations: 1.619 MB / 344.8 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.3455, allocations: 1.008 MB / 345.8 MB, free: 132 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.3487, allocations: 1.377 MB / 347.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.3492, allocations: 152 kB / 347.3 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3502, allocations: 227.9 kB / 347.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.3512, allocations: 0.7748 MB / 348.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.3521, allocations: 0.5471 MB / 348.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004538/0.3567, allocations: 3.74 MB / 352.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3567, allocations: 4 kB / 352.6 MB, free: 9.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3567, allocations: 0 / 352.6 MB, free: 9.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001797/0.3569, allocations: 0 / 352.6 MB, free: 9.289 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.007082/0.364, allocations: 2.793 MB / 355.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.3641, allocations: 8.031 kB / 355.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.3653, allocations: 336.2 kB / 355.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.3685, allocations: 1.577 MB / 357.3 MB, free: 4.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.3688, allocations: 188.6 kB / 357.5 MB, free: 4.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.3692, allocations: 231.9 kB / 357.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006306/0.3755, allocations: 3.133 MB / 360.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/0.3755, allocations: 4 kB / 360.8 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.3758, allocations: 96 kB / 360.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3759, allocations: 108.5 kB / 361 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/0.3811, allocations: 2.7 MB / 363.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.4004, allocations: 9.786 MB / 373.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.4039, allocations: 2.193 MB / 375.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.4061, allocations: 1.124 MB / 376.8 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.4065, allocations: 207.2 kB / 377 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.4066, allocations: 47.56 kB / 377.1 MB, free: 48 kB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.076e-06/0.4066, allocations: 0 / 377.1 MB, free: 48 kB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.01612/0.4228, allocations: 6.803 MB / 383.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4229, allocations: 72.66 kB / 384 MB, free: 9.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.427, allocations: 1.731 MB / 385.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.4272, allocations: 49.64 kB / 385.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.4285, allocations: 1.152 MB / 386.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/0.4291, allocations: 457.5 kB / 387.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4292, allocations: 28 kB / 387.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4295, allocations: 369.9 kB / 387.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4311, allocations: 0.808 MB / 388.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.433, allocations: 1.21 MB / 389.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.4348, allocations: 0.9666 MB / 390.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.4348, allocations: 4 kB / 390.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005242/0.4401, allocations: 2.674 MB / 393.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4401, allocations: 12 kB / 393.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.4402, allocations: 15.95 kB / 393.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.4412, allocations: 423.4 kB / 393.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.4426, allocations: 367.4 kB / 394.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007285/0.4499, allocations: 6.487 MB / 400.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.4518, allocations: 107.9 kB / 400.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.4521, allocations: 63.98 kB / 400.8 MB, free: 7.445 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.002127/0.4542, allocations: 0.7901 MB / 401.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/0.4549, allocations: 181.8 kB / 401.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.4599, allocations: 2.391 MB / 404.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.46, allocations: 19.98 kB / 404.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/0.46, allocations: 4 kB / 404.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.46, allocations: 7.938 kB / 404.2 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4702, allocations: 5.142 MB / 409.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4703, allocations: 4 kB / 409.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009955/0.4713, allocations: 244.1 kB / 409.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.4724, allocations: 463.2 kB / 410.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.4726, allocations: 31.98 kB / 410.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007967/0.4805, allocations: 7.924 MB / 418 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.4806, allocations: 7.938 kB / 418 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/0.4862, allocations: 3.554 MB / 421.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.4873, allocations: 434.7 kB / 422 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/0.4878, allocations: 32.09 kB / 422 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4888, allocations: 103.8 kB / 422.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.4892, allocations: 124.7 kB / 422.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4893, allocations: 40 kB / 422.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002273/0.4916, allocations: 1.186 MB / 423.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4916, allocations: 4 kB / 423.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002046/0.4936, allocations: 0.5001 MB / 424 MB, free: 15.44 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.0003684/0.494, allocations: 155 kB / 424.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004233/0.4982, allocations: 2.477 MB / 426.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4983, allocations: 3.938 kB / 426.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00259/0.5009, allocations: 1.63 MB / 428.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.5035, allocations: 458.2 kB / 428.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009566/0.5131, allocations: 5.936 MB / 434.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/0.5156, allocations: 1.997 MB / 436.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00185/0.5175, allocations: 451.5 kB / 437.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.5181, allocations: 123.4 kB / 437.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5181, allocations: 3.938 kB / 437.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of Templates: time 0.2165/0.7347, allocations: 25.45 MB / 462.7 MB, free: 103.6 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)