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.00126/0.001261, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01263/0.01263, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.806/1.806, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.00051/0.00051, allocations: 10.81 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3191, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01275/0.3319, allocations: 9.532 MB / 336.6 MB, free: 9.824 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008087/0.34, allocations: 3.222 MB / 339.8 MB, free: 6.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.3422, allocations: 43.75 kB / 339.8 MB, free: 6.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.3443, allocations: 0.6059 MB / 340.4 MB, free: 5.938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.3475, allocations: 0.7616 MB / 341.2 MB, free: 5.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3487, allocations: 359.6 kB / 341.5 MB, free: 4.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.3533, allocations: 3.382 MB / 344.9 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.356, allocations: 2.037 MB / 347 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3581, allocations: 1.007 MB / 348 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.3605, allocations: 1.443 MB / 349.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003183/0.3609, allocations: 152 kB / 349.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.3616, allocations: 259.8 kB / 349.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.3625, allocations: 0.7747 MB / 350.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.3642, allocations: 1.365 MB / 352 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.369, allocations: 4.356 MB / 356.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.369, allocations: 0 / 356.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.369, allocations: 0 / 356.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001283/0.3691, allocations: 0 / 356.3 MB, free: 5.938 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.006516/0.3757, allocations: 2.77 MB / 359.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3757, allocations: 8.031 kB / 359.1 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.3767, allocations: 333.2 kB / 359.4 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.3799, allocations: 1.635 MB / 361.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.3801, allocations: 189 kB / 361.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.3805, allocations: 227.9 kB / 361.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00624/0.3868, allocations: 3.152 MB / 364.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.01e-05/0.3869, allocations: 4 kB / 364.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.3871, allocations: 95.98 kB / 364.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.3872, allocations: 108.6 kB / 364.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00549/0.3927, allocations: 2.727 MB / 367.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.4117, allocations: 9.79 MB / 377.3 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/0.4148, allocations: 2.185 MB / 379.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.4168, allocations: 1.137 MB / 380.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.4172, allocations: 199.2 kB / 380.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.4173, allocations: 51.56 kB / 380.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.706e-06/0.4173, allocations: 3.938 kB / 380.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01542/0.4327, allocations: 6.826 MB / 387.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.4328, allocations: 64.72 kB / 387.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.4357, allocations: 1.75 MB / 389.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4358, allocations: 45.7 kB / 389.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009962/0.4368, allocations: 1.148 MB / 390.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.4372, allocations: 457.4 kB / 391.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.4374, allocations: 133.6 kB / 391.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4375, allocations: 313.1 kB / 391.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4388, allocations: 0.7964 MB / 392.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4404, allocations: 1.222 MB / 393.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.4435, allocations: 2.122 MB / 395.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.4435, allocations: 4 kB / 395.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004827/0.4484, allocations: 2.694 MB / 398.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.4484, allocations: 8 kB / 398.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.4485, allocations: 12 kB / 398.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009888/0.4495, allocations: 423.2 kB / 398.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.4508, allocations: 367.4 kB / 399.2 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/0.4576, allocations: 6.502 MB / 405.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.4593, allocations: 115.9 kB / 405.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.4595, allocations: 63.98 kB / 405.9 MB, free: 2.574 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[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.001643/0.4611, allocations: 0.79 MB / 406.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.4615, allocations: 189.7 kB / 406.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.4658, allocations: 2.395 MB / 409.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.4658, allocations: 12 kB / 409.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4658, allocations: 4 kB / 409.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4658, allocations: 7.984 kB / 409.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/0.4748, allocations: 5.149 MB / 414.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4748, allocations: 4.062 kB / 414.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/0.4758, allocations: 247.6 kB / 414.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.477, allocations: 447.2 kB / 415.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.4771, allocations: 35.98 kB / 415.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008476/0.4856, allocations: 7.936 MB / 423.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4856, allocations: 7.938 kB / 423.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005924/0.4916, allocations: 3.562 MB / 426.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.4926, allocations: 438.6 kB / 427.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.4928, allocations: 39.92 kB / 427.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/0.4937, allocations: 99.84 kB / 427.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.494, allocations: 120.8 kB / 427.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/0.494, allocations: 36 kB / 427.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001693/0.4957, allocations: 1.198 MB / 428.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4958, allocations: 0 / 428.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001842/0.4976, allocations: 0.5117 MB / 429.1 MB, free: 10.51 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 (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.0004181/0.498, allocations: 203 kB / 429.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004242/0.5023, allocations: 2.472 MB / 431.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5023, allocations: 0.8125 kB / 431.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/0.5051, allocations: 1.633 MB / 433.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/0.5086, allocations: 438.5 kB / 433.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009763/0.5183, allocations: 6.25 MB / 440.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.5202, allocations: 2.001 MB / 442.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001658/0.5219, allocations: 439.5 kB / 442.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.5224, allocations: 123.4 kB / 442.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5224, allocations: 0 / 442.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.2332/0.7556, allocations: 26.16 MB / 468.8 MB, free: 105.4 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)