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.002282/0.002282, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.00228/0.00228, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.656/1.656, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001272/0.001272, allocations: 39.94 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1231, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01288/0.136, allocations: 10.07 MB / 336 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008778/0.1449, allocations: 3.257 MB / 339.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.1473, allocations: 39.81 kB / 339.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.1495, allocations: 0.6059 MB / 339.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003292/0.1528, allocations: 0.7616 MB / 340.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1539, allocations: 371.6 kB / 341.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.1583, allocations: 3.382 MB / 344.4 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.1611, allocations: 2.049 MB / 346.5 MB, free: 232 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.1635, allocations: 1.16 MB / 347.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.1666, allocations: 1.631 MB / 349.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006749/0.1672, allocations: 216 kB / 349.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1685, allocations: 319.8 kB / 349.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.1697, allocations: 0.8839 MB / 350.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002482/0.1722, allocations: 1.461 MB / 352.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.1776, allocations: 4.494 MB / 356.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.1776, allocations: 0 / 356.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1777, allocations: 0 / 356.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001841/0.1778, allocations: 0 / 356.6 MB, free: 6.039 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.009056/0.1869, allocations: 3.268 MB / 359.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/0.187, allocations: 12.03 kB / 359.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.188, allocations: 333.1 kB / 360.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.1913, allocations: 1.628 MB / 361.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.1916, allocations: 196.9 kB / 362.1 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/0.1921, allocations: 227.9 kB / 362.3 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006013/0.1982, allocations: 3.129 MB / 365.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.1982, allocations: 11.94 kB / 365.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.1985, allocations: 95.91 kB / 365.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.1986, allocations: 108.6 kB / 365.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004905/0.2035, allocations: 2.692 MB / 368.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/0.2208, allocations: 9.735 MB / 378 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.257/0.4779, allocations: 2.162 MB / 380.2 MB, free: 50.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.4809, allocations: 1.118 MB / 381.3 MB, free: 50.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000347/0.4813, allocations: 202 kB / 381.5 MB, free: 49.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.4813, allocations: 43.5 kB / 381.6 MB, free: 49.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.116e-06/0.4813, allocations: 1.406 kB / 381.6 MB, free: 49.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01608/0.4974, allocations: 6.706 MB / 388.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4975, allocations: 65.67 kB / 388.3 MB, free: 47.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.5009, allocations: 1.739 MB / 390.1 MB, free: 46.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.501, allocations: 49.52 kB / 390.1 MB, free: 46.63 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.5016, allocations: 1.159 MB / 391.3 MB, free: 45.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.502, allocations: 453.4 kB / 391.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.5024, allocations: 285.4 kB / 392 MB, free: 45.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.5025, allocations: 305.1 kB / 392.3 MB, free: 44.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.5038, allocations: 0.7923 MB / 393.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.5053, allocations: 1.203 MB / 394.3 MB, free: 43.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.5079, allocations: 2.09 MB / 396.4 MB, free: 42.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.508, allocations: 3.938 kB / 396.4 MB, free: 42.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004123/0.5121, allocations: 2.67 MB / 399.1 MB, free: 41.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5121, allocations: 11.72 kB / 399.1 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.5122, allocations: 15.53 kB / 399.1 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009038/0.5131, allocations: 425 kB / 399.5 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.5143, allocations: 364.3 kB / 399.9 MB, free: 41.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.5194, allocations: 6.484 MB / 406.3 MB, free: 34.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.5209, allocations: 107.7 kB / 406.5 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.5211, allocations: 64 kB / 406.5 MB, free: 34.6 MB / 318.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.001488/0.5226, allocations: 0.7982 MB / 407.3 MB, free: 33.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.5229, allocations: 185.8 kB / 407.5 MB, free: 33.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.5262, allocations: 2.375 MB / 409.9 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.5262, allocations: 12 kB / 409.9 MB, free: 31.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5262, allocations: 4 kB / 409.9 MB, free: 31.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5262, allocations: 12.75 kB / 409.9 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/0.5332, allocations: 5.115 MB / 415 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.5332, allocations: 4 kB / 415 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/0.5341, allocations: 236.1 kB / 415.2 MB, free: 25.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009865/0.5351, allocations: 462.1 kB / 415.7 MB, free: 25.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.5352, allocations: 31.98 kB / 415.7 MB, free: 25.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/0.541, allocations: 7.932 MB / 423.7 MB, free: 16.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.541, allocations: 8.812 kB / 423.7 MB, free: 16.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/0.5458, allocations: 3.517 MB / 427.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.547, allocations: 438.7 kB / 427.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.5473, allocations: 35.98 kB / 427.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/0.5482, allocations: 79.91 kB / 427.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/0.5485, allocations: 128.7 kB / 427.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/0.5486, allocations: 42.86 kB / 427.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.5502, allocations: 1.198 MB / 429.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.5502, allocations: 0 / 429.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002335/0.5526, allocations: 0.4996 MB / 429.6 MB, free: 10.75 MB / 318.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.0005916/0.5532, allocations: 202 kB / 429.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003562/0.5567, allocations: 2.449 MB / 432.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.5568, allocations: 4.125 kB / 432.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.5589, allocations: 1.619 MB / 433.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.5615, allocations: 458.2 kB / 434.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008505/0.57, allocations: 6.088 MB / 440.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.5723, allocations: 1.997 MB / 442.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001921/0.5743, allocations: 443.5 kB / 442.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.5747, allocations: 127.4 kB / 443 MB, free: 13.17 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5747, allocations: 0 / 443 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Templates: time 0.0599/0.6346, allocations: 26.59 MB / 469.5 MB, free: 2.566 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (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)